[Encode_StrictURL] takes a single argument which is a string to be encoded. It encodes any URL reserved or illegal characters in the string into URL entities.
This tag ensures that text will be transmitted as part of a name/value parameter in a URL without affecting the structure of the URL. Any reserved characters such as ?, &, =, ", #, or spaces will be encoded as URL entitities so they are not mistaken as delimiters in the URL.
Note: This tag performs the same encoding as the -EncodeStrictURL keyword.
[Encode_StrictURL: 'Encoding Value']
Use the [Encode_StrictURL] tag. The following example encodes a string using strict URL encoding to demonstrate what characters are replaced by URL entitites. Notice that the delimiters of the URL including the ? and = symbols are encoded along with the high-ASCII character.
[Encode_StrictURL: 'default.lasso?mañana=tomorrow']
default.lasso%3fma%f1ana%3dtomorrow
Tag Link | [Encode_StrictURL] | Category | Encoding |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 3.0 |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 7.0, Lasso 6.0, Lasso 5.0,LDML3x |
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