Fixed bug: we were generating an application string rather
than a context-specific one when constructing "present" filters.
This commit is contained in:
parent
1b8bce9051
commit
ff01c26401
|
@ -117,7 +117,7 @@ class Filter
|
||||||
case @op
|
case @op
|
||||||
when :eq
|
when :eq
|
||||||
if @right == "*" # present
|
if @right == "*" # present
|
||||||
@left.to_ber_application_string 7
|
@left.to_ber_contextspecific 7
|
||||||
elsif @right =~ /[\*]/ #substring
|
elsif @right =~ /[\*]/ #substring
|
||||||
ary = @right.split( /[\*]+/ )
|
ary = @right.split( /[\*]+/ )
|
||||||
final_star = @right =~ /[\*]$/
|
final_star = @right =~ /[\*]$/
|
||||||
|
|
Loading…
Reference in a new issue