Add to history re escaping in filters.

Remove extra UTF-8 header.
This commit is contained in:
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. prevent those operators from having problems with the private new.
* Added Filter.present and Filter.present? aliases for the method * Added Filter.present and Filter.present? aliases for the method
previously only known as Filter.pres. 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. * Cleaned up Net::LDAP::Filter::FilterParser to handle branches better.
Fixed some of the regular expressions to be more canonically defined. Fixed some of the regular expressions to be more canonically defined.
* Correctly handles single-branch branches. * Correctly handles single-branch branches.

View file

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