Files
@ 1943c6f00cd8
Branch filter:
Location: kallithea/scripts/validate-commits
1943c6f00cd8
1.4 KiB
text/plain
user: allow LDAP users with non-ASCII characters in the DN
The database and sqlalchemy use unicode, so any attempt at storing encoded data
is wrong and might fail.
Thus, use safe_unicode instead of encoding it using safe_str.
The database and sqlalchemy use unicode, so any attempt at storing encoded data
is wrong and might fail.
Thus, use safe_unicode instead of encoding it using safe_str.