Changes between Initial Version and Version 1 of Ticket #11531


Ignore:
Timestamp:
Jan 31, 2014, 11:34:46 AM (10 years ago)
Author:
Jun Omae
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11531 – Description

    initial v1  
    11If there is an accented char (like ò) in the login field, the authentication fails with the following error (see the last row):
    2 
     2{{{
    33Trac[store] DEBUG: LDAPAuth: Unexpected error: Traceback (most recent call last):
    44  File "build/bdist.linux-x86_64/egg/ldapauth/store.py", line 69, in check_password
     
    1515    result = func(*args,**kwargs)
    1616UnicodeEncodeError: 'ascii' codec can't encode character u'\xf2' in position 39: ordinal not in range(128)
    17 
     17}}}
    1818
    1919May be a solution could be to encode('utf-8')?