Add to history re escaping in filters.

Remove extra UTF-8 header.
master
Jamstah 2011-03-20 20:32:53 +00:00
parent 2a63ae72b9
commit 001608e3a0
2 changed files with 4 additions and 1 deletions

View File

@ -10,6 +10,10 @@
prevent those operators from having problems with the private new.
* Added Filter.present and Filter.present? aliases for the method
previously only known as Filter.pres.
* Added Filter.escape to escape strings for use in filters, based on
rfc4515.
* Added Filter.equals, Filter.begins, Filter.ends and Filter.contains,
which automatically escape input for use in a filter string.
* Cleaned up Net::LDAP::Filter::FilterParser to handle branches better.
Fixed some of the regular expressions to be more canonically defined.
* Correctly handles single-branch branches.

View File

@ -1,5 +1,4 @@
# -*- ruby encoding: utf-8 -*-
# -*- ruby encoding: utf-8 -*-
##
# Class Net::LDAP::Filter is used to constrain LDAP searches. An object of