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(utils): strip_string() checks text length counting bytes not chars #1711

Merged
merged 1 commit into from Oct 27, 2022

Conversation

mgaligniana
Copy link
Contributor

@mgaligniana mgaligniana commented Oct 27, 2022

Hello!

In this PR I applied the antonpirker suggest. Now the truncation and indexes in the AnnotatedValues it's done by number of bytes and not number of characters.

Thank you!

Fixes GH-1691

The truncation and indexes in the AnnotatedValues it's done by number of bytes
and not number of characters.

Fixes getsentryGH-1691
@antonpirker antonpirker merged commit e2674d4 into getsentry:master Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Max length in strip_string() should by bytes not characters.
3 participants