Skip to content

Cherry pick valyala/fastjson/pull/87#1

Merged
papanikge merged 2 commits into
masterfrom
pap-append-printable
Oct 10, 2024
Merged

Cherry pick valyala/fastjson/pull/87#1
papanikge merged 2 commits into
masterfrom
pap-append-printable

Conversation

@papanikge
Copy link
Copy Markdown
Member

@papanikge papanikge commented Oct 10, 2024

Fixes non-printable UTF-8 fastjson artifacts.

This is a cherry-pick of the PR valyala#87 that fixes issue valyala#90

Note that in order to trigger this bug when actually Parsing a json payload (instead of just using a string as displayed in the description of valyala#90) you need to Visit() the problematic string key and do Type() on it. Type() has side effects.

There is also an extra commit with tests that break without the changes.

@papanikge papanikge self-assigned this Oct 10, 2024
@papanikge papanikge merged commit bdecf22 into master Oct 10, 2024
@kostaspap kostaspap deleted the pap-append-printable branch October 11, 2024 08:54
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.

2 participants