Skip to content

unicode input produces ValueError which crashes clients #50

@adobeDan

Description

@adobeDan

If you are running in Python 2, and you pass in a (unicode) email or username that contains a non-ascii character, the ValueError that's thrown contains a py2 str message with that non-ascii character, instead of a unicode message containing the actual email or username. This message cannot be formatted by clients, because they can't know the encoding, and in py3 it's not valid.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions