Fix escaping code, missing "unicode" string identifier in one of the value
comparisons
This commit is contained in:
1 parent
f5e30866d1
commit
ac926646ea
1 file changed
+1
-1
@@ -47,7 +47,7 @@ def ldap_search_escape(match):
|
||||
|
||||
if value == u"(":
|
||||
return u"\\28"
|
||||
elif value == ")":
|
||||
elif value == u")":
|
||||
return u"\\29"
|
||||
elif value == u"\\":
|
||||
return u"\\5c"
|
||||
|
||||
Reference in new issue
Block a user