Skip to content
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

Fix for #1171 utf-16 issue in SmartSerializer #1179

Merged
merged 2 commits into from
Dec 6, 2021
Merged

Fix for #1171 utf-16 issue in SmartSerializer #1179

merged 2 commits into from
Dec 6, 2021

Conversation

ezimuel
Copy link
Contributor

@ezimuel ezimuel commented Nov 23, 2021

This PR contains the fix for #1171 related to single unpaired UTF-16 surrogate in unicode escape. In case of JSON_ERROR_UTF16 the SmartSerilizer::decode() function escape the backslash \ using the double backslash \\.

@ezimuel ezimuel added this to the 7.16.0 milestone Nov 23, 2021
@ezimuel ezimuel requested review from philkra and technige November 30, 2021 14:05
Copy link

@technige technige left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@ezimuel ezimuel merged commit fd634a6 into elastic:7.16 Dec 6, 2021
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