Opened 16 years ago
Last modified 8 years ago
#6318 closed defect
Error when login name has non-ascii characters — at Initial Version
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.2 |
Component: | web frontend | Version: | |
Severity: | major | Keywords: | unicode authentication |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
"Everything" is set to UTF-8, but trac returns error error when login name has non-ascii characters.
raceback (most recent call last): File "/var/lib/python-support/python2.4/trac/web/main.py", line 406, in dispatch_request dispatcher.dispatch(req) File "/var/lib/python-support/python2.4/trac/web/main.py", line 183, in dispatch req.perm = PermissionCache(self.env, req.authname) File "/var/lib/python-support/python2.4/trac/perm.py", line 263, in __init__ self.perms = PermissionSystem(env).get_user_permissions(username) File "/var/lib/python-support/python2.4/trac/perm.py", line 227, in get_user_permissions for perm in self.store.get_user_permissions(username): File "/var/lib/python-support/python2.4/trac/perm.py", line 117, in get_user_permissions if user in subjects: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 10: ordinal not in range(128)
Note:
See TracTickets
for help on using tickets.