Merge pull request #35 from MarkCDSys/master
Parse UTF-8 special-chars in Net::LDAP::Filter.construct()
This commit is contained in:
commit
8ddb2d7c84
1 changed files with 1 additions and 1 deletions
|
@ -755,7 +755,7 @@ class Net::LDAP::Filter
|
|||
scanner.scan(/\s*/)
|
||||
if op = scanner.scan(/<=|>=|!=|:=|=/)
|
||||
scanner.scan(/\s*/)
|
||||
if value = scanner.scan(/(?:[-\w*.+@=,#\$%&!'\s]|\\[a-fA-F\d]{2})+/)
|
||||
if value = scanner.scan(/(?:[-\w*.+@=,#\$%&!'\s\xC3\x80-\xCA\xAF]|\\[a-fA-F\d]{2})+/)
|
||||
# 20100313 AZ: Assumes that "(uid=george*)" is the same as
|
||||
# "(uid=george* )". The standard doesn't specify, but I can find
|
||||
# no examples that suggest otherwise.
|
||||
|
|
Loading…
Reference in a new issue