Skip to content

Commit e6fe6d9

Browse files
committed
Set encoding of assertionValue to utf-8 to allow non-ASCII characters in LDAP query
1 parent faaefbb commit e6fe6d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impacket/ldap/ldapasn1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class AttributeValue(univ.OctetString):
161161

162162

163163
class AssertionValue(univ.OctetString):
164-
pass
164+
encoding = 'utf-8'
165165

166166

167167
class MatchingRuleID(LDAPString):

0 commit comments

Comments
 (0)