Encodes the given string for safe output in LDAP Distinguished Names (DN). Intended to prevent LDAP Injection.
encodeForDN( string [,canonicalize]);
→ returns string
false
encodeForDN("x,y")
Expected Result: x\,y
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.