Tag Link | [Encode_URL] | Category | Encoding |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 2.5 |
Change | Unchanged | Data Source | Any |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x, Lasso 2.5 |
[Encode_URL] takes a single argument which is a string to be encoded. It encodes any URL illegal characters in the string into URL entities.
This tag can be used to encode an entire URL. It will leave all the delimiters of the URL unchanged while encoding high
Note: This tag performs the same encoding as the
[Encode_URL: 'Encoding Value']
Required Parameters | |
---|---|
Encoding Value | The specified value will have |
To encode text using URL encoding:
Use the [Encode_URL] tag. The following example encodes a string using URL encoding to demonstrate what characters are replaced by URL entitites. Notice that the n with a tilde is encoded, but the ? and = character are not.
[Encode_URL: 'default.lasso?mañana=tomorrow']
default.lasso?ma%F1ana=tomorrow