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

Include diff-match-patch surrogate fix v2 #1912

Merged
merged 1 commit into from
Feb 17, 2020

Conversation

dmsnell
Copy link
Member

@dmsnell dmsnell commented Feb 17, 2020

Updates node-simperium in order to incorportate the second fix in
diff-match-patch for the successive surrogate issue. Specifically
this fix includes a custom URI decoder to accept changes from the
server which would otherwise crash the decoding thread (invalid Unicode
characters URI-encoded as if they were - Python 2 encoding surrogate
halves separately).

This change should not have a noticable impact on the app and should
only fix a few remaining cases where successive surrogate pairs could
previously interrupt the syncing process.

Updates `node-simperium` in order to incorportate the second fix in
`diff-match-patch` for the successive surrogate issue. Specifically
this fix includes a custom URI decoder to accept changes from the
server which would otherwise crash the decoding thread (invalid Unicode
characters URI-encoded as if they were - Python 2 encoding surrogate
halves separately).

This change should not have a noticable impact on the app and should
only fix a few remaining cases where successive surrogate pairs could
previously interrupt the syncing process.
@dmsnell dmsnell requested a review from a team February 17, 2020 21:06
Copy link
Contributor

@belcherj belcherj left a comment

Choose a reason for hiding this comment

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

I tested this when I approved the PR on the node-simperium side. Let's merge it.

@dmsnell dmsnell merged commit a9b36ff into develop Feb 17, 2020
@dmsnell dmsnell deleted the update/dmp-surrogate-fix-2 branch February 17, 2020 22:10
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