Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed unicode username user creation error
The code tries to construct a byte string object to test the length of the string field (The explicit construction of the string object is neccessary as sometime v can be other types, for example int). This will cause error if the string field (v) is a unicode object. Fixes bug #1166701 Change-Id: I73cee4da5c9f91ce135e7f81d88c979871f61767
- Loading branch information
1 parent
cbac771
commit 78dcfc6
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters