Repository navigation
fix(core): read a backslash inside single quotes as literal when splitting #11765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
wenshao
merged 22 commits into
QwenLM:main
from
TianYuan1024:fix/permission-single-quote-backslash-split
Sep 23, 2026
+279
−29
Merged
Changes from 13 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
fc5cb28
fix(core): read a backslash inside single quotes as literal when spli…
TianYuan1024 dd80fb9
Merge remote-tracking branch 'origin/main' into fix/permission-single…
TianYuan1024 a122d7a
fix(core): keep the escape inside bash's ANSI-C quotes when splitting
TianYuan1024 06b3591
Merge remote-tracking branch 'origin/main' into fix/permission-single…
TianYuan1024 0974d13
test(core): cover mixed quote forms on one line when splitting commands
TianYuan1024 29ddd0a
Merge remote-tracking branch 'origin/main' into fix/permission-single…
TianYuan1024 2306f10
fix(core): elide a line continuation before deciding the quote form
TianYuan1024 e1d00ca
Merge remote-tracking branch 'origin/main' into fix/permission-single…
TianYuan1024 d2d63af
docs(core): correct why the continuation branch and ANSI-C quoting work
TianYuan1024 8af09af
Merge remote-tracking branch 'origin/main' into fix/permission-single…
TianYuan1024 413ea00
Merge remote-tracking branch 'origin/main' into fix/permission-single…
TianYuan1024 550a71b
fix(core): keep every boundary either backslash reading finds when sp…
TianYuan1024 f56192f
refactor(core): condense splitter comments and quote-handling tests
TianYuan1024 ee3a811
perf(core): skip the second scan when the command has no backslash
TianYuan1024 3eb322a
Merge remote-tracking branch 'origin/main' into fix/permission-single…
TianYuan1024 68d4df3
fix(core): trim only the whitespace bash's lexer discards when splitting
TianYuan1024 32e35ca
Merge remote-tracking branch 'origin/main' into fix/permission-single…
TianYuan1024 2d85029
Merge remote-tracking branch 'origin/main' into fix/permission-single…
TianYuan1024 16b0f00
Merge remote-tracking branch 'origin/main' into fix/permission-single…
TianYuan1024 f0bc4fc
test(core): pin the one-character reach of a pending `$`
TianYuan1024 e10f3c2
test(core): pin the false deny this split declares as its tradeoff
TianYuan1024 683e06b
Merge remote-tracking branch 'origin/main' into fix/permission-single…
TianYuan1024 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.