Skip to content

Commit ff01c26

Browse files
author
blackhedd
committed
Fixed bug: we were generating an application string rather
than a context-specific one when constructing "present" filters.
1 parent 1b8bce9 commit ff01c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/net/ldapfilter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def to_ber
117117
case @op
118118
when :eq
119119
if @right == "*" # present
120-
@left.to_ber_application_string 7
120+
@left.to_ber_contextspecific 7
121121
elsif @right =~ /[\*]/ #substring
122122
ary = @right.split( /[\*]+/ )
123123
final_star = @right =~ /[\*]$/

0 commit comments

Comments
 (0)