Method Protocols.LDAP.ldap_encode_string()
- Method
ldap_encode_string
stringldap_encode_string(stringstr)- Description
Quote characters in the given string as necessary for use as a string literal in filters and various composite LDAP attributes.
The quoting is compliant with RFC 2252 section 4.3 and RFC 2254 section 4. All characters that can be special in those RFCs are quoted using the
\xxsyntax, but the set might be extended.- See also