Repository navigation
fix(security): apply outputEscape to {% cycle %} - #984
Merged
Merged
Conversation
Escape cycle candidates the same way as echo. Stricter than Shopify Liquid, which leaves cycle unescaped. Co-authored-by: Cursor <[email protected]>
Coverage Report for CI Build 40553573207Coverage increased (+0.002%) to 99.399%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats💛 - Coveralls |
Parse cycle values as filtered values so | raw skips escaping, including named groups. Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: Cursor <[email protected]>
github-actions Bot
pushed a commit
that referenced
this pull request
Oct 28, 2026
## [10.30.1](v10.30.0...v10.30.1) (2026-10-28) ### Bug Fixes * apply outputEscape to {% echo %} ([46ab5d8](46ab5d8)) * **array_to_sentence_string:** coerce non-array input with toArray ([#968](#968)) ([e843466](e843466)), closes [#964](#964) * **base64_decode:** throw on invalid input in every build ([#971](#971)) ([83bbfe0](83bbfe0)), closes [#965](#965) * **date_to_rfc822:** use English day and month names ([#974](#974)) ([e94a1c4](e94a1c4)), closes [#973](#973) * **filters:** round must not alter large or high-precision numbers ([#980](#980)) ([ea22af4](ea22af4)), closes [hi#precision](https://github.com/hi/issues/precision) * **filters:** truncate and slice must not split surrogate pairs ([#981](#981)) ([57016eb](57016eb)), closes [String#length](https://github.com/String/issues/length) [String#slice](https://github.com/String/issues/slice) * pad %Y to 4 digits like Ruby ([#978](#978)) ([95a2eed](95a2eed)) * **security:** apply outputEscape to {% cycle %} ([#984](#984)) ([2e1ebe0](2e1ebe0))
|
🎉 This PR is included in version 10.30.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
outputEscapeto{% cycle %}candidates, using the same call pattern as{% echo %}.apply_global_filter). Intentional for LiquidJS whenoutputEscapeis set.cyclepath.Test plan
test/integration/liquid/output-escape.spec.ts(cycle case)test/integration/tags/cycle.spec.tsMade with Cursor