Skip to content

Cherry pick valyala/fastjson/pull/87 #1

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
merged 2 commits into from
Oct 10, 2024
Merged

Conversation

papanikge
Copy link
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