Skip to content

Conversation

@ilmari
Copy link

@ilmari ilmari commented Nov 24, 2018

RFC 4515 requires * ( ) \ and NUL to be escaped with a backslash
followed by the hexadecimal representation of the byte value.

RFC 4515 requires * ( ) \ and NUL to be escaped with a backslash
followed by the hexadecimal representation of the byte value.

https://tools.ietf.org/html/rfc4515#section-3
@duffee
Copy link
Owner

duffee commented Dec 6, 2018

I'll have a look at this next week. I guess I've just depended on Net::LDAP to handle it.

@ilmari
Copy link
Author

ilmari commented Dec 7, 2018

Net::LDAP has no handling for this, sadly. Net::LDAP::Filter knows how to escape and unescape attribute values in a filter, but the only input form is the filter string, so we must do the escaping ourselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants