EncodeForLDAP()
Encodes the given string for safe output in LDAP queries.
Requires Extension: ESAPI extension
EncodeForLDAP( string=string, canonicalize=boolean );
Returns: String
Examples
encode = encodeForLDAP("I ** love * lucee");
dump(encode);
See also
- Encode/Decode
- LDAP
- string.encodeForLDAP()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)