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

utils: Don't blow up trimming a value that isn't ascii or unicode #4433

Merged
merged 1 commit into from
Oct 25, 2016

Conversation

mattrobenolt
Copy link
Contributor

Input into trim may either be bytes or text, and we already expect this
since we check for six.string_types. But if we get a binary type that
isn't ascii, trim would blow up.

@getsentry/platform

Input into trim may either be bytes or text, and we already expect this
since we check for `six.string_types`. But if we get a binary type that
isn't ascii, trim would blow up.
Copy link
Contributor

@JTCunning JTCunning left a comment

Choose a reason for hiding this comment

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

👏

@mattrobenolt mattrobenolt merged commit c94ba63 into master Oct 25, 2016
@mattrobenolt mattrobenolt deleted the unicooooooode branch October 25, 2016 20:24
@github-actions github-actions bot locked and limited conversation to collaborators Dec 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants