[Decode_URL] takes a single argument which is a URL to be decoded. It decodes any URL entities in the string. This tag can be used to decode a value which was encoded using [Encode_URL] or [Encode_StrictURL]. The [Decode_URL] tag returns a byte stream.
Note: Lasso automatically decodes values returned from the [Action_Param] tag.
[Decode_URL: 'Decoding Value']
Use the [Decode_URL] tag. The following example decodes a string that was encoded using strict URL encoding to demonstrate what characters are converted from URL entities.
[Decode_URL: 'default.lasso%3fma%f1ana%3dtomorrow']
default.lasso?ma–ana=tomorrow
Tag Link | [Decode_URL] | Category | Encoding |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 2.5 |
Output Type | Bytes | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x,LDML25 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft