Lasso Soft Inc. > Home

[Encode_StrictURL]

[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.

  • Syntax
  • Parameters
[Encode_StrictURL: 'Encoding Value']
Required Parameters
Encoding Value The specified value will have -EncodeStrictURL encoding applied.
Examples

To encode text using strict URL encoding:

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']
Result:
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 8.5, Lasso 8.0, 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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft