Skip to content

Fix escaped '%' check when building Printf.Format#37470

Merged
quinnj merged 1 commit into
masterfrom
jq/printffix
Sep 8, 2020
Merged

Fix escaped '%' check when building Printf.Format#37470
quinnj merged 1 commit into
masterfrom
jq/printffix

Conversation

@quinnj

@quinnj quinnj commented Sep 8, 2020

Copy link
Copy Markdown
Member

Addresses
#32859 (comment).
The issue here was advancing the parsing position too far when an
escaped '%' was encountered after the first format specifier. If an
escaped '%' was then followed by another specifier, it was ignored due
to being classified as an "escaped" character.

Addresses
#32859 (comment).
The issue here was advancing the parsing position too far when an
escaped `'%'` was encountered after the first format specifier. If an
escaped `'%'` was then followed by another specifier, it was ignored due
to being classified as an "escaped" character.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant