-
Notifications
You must be signed in to change notification settings - Fork 259
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
sanitize function blows up on unicode characters #421
Comments
PRs gladly accepted! Especially anyone will to brave the depths of encoding handling ... a dark and dangerous place. |
This sanitize function primarily exists for stripping sensitive logs. I see no reason why it should raise and stop login flow if it fails. |
Yes, youre right. Its called in many places right? Perhaps it can be wrapped in a decorator and exceptions can be pased and fixed as seen (but without blocking flows). Thoughts? |
'ascii' codec can't encode characters in position 929-931: ordinal not in range(128)
Gets thrown by this function:
https://github.com/OpenIDC/pyoidc/blob/master/src/oic/utils/sanitize.py#L38
The text was updated successfully, but these errors were encountered: