esapiDecode

Decodes a string that has been encoded with ESAPIEncode.

esapiDecode(decodeFrom, string) → returns string

This function requires Lucee.  Not supported on Adobe ColdFusion, etc.

Argument Reference

decodeFrom string
Required

given value is encoded as:

* Lucee4, Lucee 5+ url
* Lucee 5+ HTML

string string
Required

string to encode

Compatibility

Lucee:

DEPRECATED since version 5

Examples
Sample code invoking the esapiDecode function


Fork me on GitHub