Skip to content

Commit 6e53144

Browse files
author
blackhedd
committed
supported comma in filter strings, suggested by Kouhei.
1 parent c6307d2 commit 6e53144

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ChangeLog

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
* Patched filter syntax to support octal \XX codes. Thanks to Kouhei Sutou
4242
for the patch.
4343
* Applied an additional patch from Kouhei.
44+
* Allowed comma in filter strings, suggested by Kouhei.
4445

4546
== Net::LDAP 0.0.4: August 15, 2006
4647
* Undeprecated Net::LDAP#modify. Thanks to Justin Forder for

lib/net/ldap/filter.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def parse_filter_branch scanner
471471
scanner.scan(/\s*/)
472472
#if value = scanner.scan( /[\w\*\.]+/ ) (ORG)
473473
#if value = scanner.scan( /[\w\*\.\+\-@=#\$%&! ]+/ ) (ff suggested by Kouhei Sutou
474-
if value = scanner.scan( /(?:[\w\*\.\+\-@=#\$%&! ]|\\[a-fA-F\d]{2,2})+/ )
474+
if value = scanner.scan( /(?:[\w\*\.\+\-@=,#\$%&! ]|\\[a-fA-F\d]{2,2})+/ )
475475
case op
476476
when "="
477477
Filter.eq( token, value )

0 commit comments

Comments
 (0)