supported comma in filter strings, suggested by Kouhei.
This commit is contained in:
parent
c6307d2ce4
commit
6e53144090
|
@ -41,6 +41,7 @@
|
||||||
* Patched filter syntax to support octal \XX codes. Thanks to Kouhei Sutou
|
* Patched filter syntax to support octal \XX codes. Thanks to Kouhei Sutou
|
||||||
for the patch.
|
for the patch.
|
||||||
* Applied an additional patch from Kouhei.
|
* Applied an additional patch from Kouhei.
|
||||||
|
* Allowed comma in filter strings, suggested by Kouhei.
|
||||||
|
|
||||||
== Net::LDAP 0.0.4: August 15, 2006
|
== Net::LDAP 0.0.4: August 15, 2006
|
||||||
* Undeprecated Net::LDAP#modify. Thanks to Justin Forder for
|
* Undeprecated Net::LDAP#modify. Thanks to Justin Forder for
|
||||||
|
|
|
@ -471,7 +471,7 @@ class FilterParser #:nodoc:
|
||||||
scanner.scan(/\s*/)
|
scanner.scan(/\s*/)
|
||||||
#if value = scanner.scan( /[\w\*\.]+/ ) (ORG)
|
#if value = scanner.scan( /[\w\*\.]+/ ) (ORG)
|
||||||
#if value = scanner.scan( /[\w\*\.\+\-@=#\$%&! ]+/ ) (ff suggested by Kouhei Sutou
|
#if value = scanner.scan( /[\w\*\.\+\-@=#\$%&! ]+/ ) (ff suggested by Kouhei Sutou
|
||||||
if value = scanner.scan( /(?:[\w\*\.\+\-@=#\$%&! ]|\\[a-fA-F\d]{2,2})+/ )
|
if value = scanner.scan( /(?:[\w\*\.\+\-@=,#\$%&! ]|\\[a-fA-F\d]{2,2})+/ )
|
||||||
case op
|
case op
|
||||||
when "="
|
when "="
|
||||||
Filter.eq( token, value )
|
Filter.eq( token, value )
|
||||||
|
|
Loading…
Reference in a new issue