Method Protocols.LDAP.ldap_encode_string()
- Method ldap_encode_string
string
ldap_encode_string(string
str
)- 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 RFCs 2252 (section 4.3) and 2254 (section 4). All characters that can be special in those RFCs are quoted using the
\xx
syntax, but the set might be extended.- See also