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(util-body-length-browser): handle trail surrogate character #3866

Merged
merged 2 commits into from
Aug 19, 2022

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Aug 19, 2022

Issue

Fixes: #3559
Fixes: #3610
Fixes: #3467

Description

Handles trail surrogate character in case of string length computation on browser

Testing

Unit testing

Additional context

StackOverflow: https://stackoverflow.com/a/23329386


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr trivikr force-pushed the fix-content-length-with-emoji branch from 099353c to c3d8913 Compare August 19, 2022 14:55
@trivikr trivikr merged commit 62657b1 into aws:main Aug 19, 2022
@trivikr trivikr deleted the fix-content-length-with-emoji branch August 19, 2022 17:02
@github-actions
Copy link

github-actions bot commented Sep 3, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants