Changes between Initial Version and Version 1 of Ticket #11531
- Timestamp:
- Jan 31, 2014, 11:34:46 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11531 – Description
initial v1 1 1 If there is an accented char (like ò) in the login field, the authentication fails with the following error (see the last row): 2 2 {{{ 3 3 Trac[store] DEBUG: LDAPAuth: Unexpected error: Traceback (most recent call last): 4 4 File "build/bdist.linux-x86_64/egg/ldapauth/store.py", line 69, in check_password … … 15 15 result = func(*args,**kwargs) 16 16 UnicodeEncodeError: 'ascii' codec can't encode character u'\xf2' in position 39: ordinal not in range(128) 17 17 }}} 18 18 19 19 May be a solution could be to encode('utf-8')?