Lucee Function Reference
guarddecode()
Reverses encoding on a string to retrieve its original value. Useful for processing encoded input before validation.
Example
guarddecode(string decodeFrom,string string):string
Category
decode,security,url,unencode
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| decodeFrom | string | Yes |
The encoding format to reverse. Valid values: |
| string | string | Yes | The encoded string to process. |