Encodes the input string for safe output in LDAP queries to prevent Cross Site Scripting attacks.
encodeForLDAP(string [,canonicalize]);
→ returns string
false
encodeForLDAP("pete) (| (password = * ) )")
Expected Result: pete\29 \28| \28password = \2a \29 \29
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.