Skip to main content

Questions tagged [escape]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
906 views

Escaping quotes of an entry string used inside a script tag

How can I display an entry string, with included special characters (like single and double quotes) , inside a script tag without translating these special characters into html entities but escaping ...
Samuel's user avatar
  • 69
1 vote
1 answer
456 views

URL Encode only file name

is there any built-in way to encode malicious file name characters when getting an asset URL through assetHandle.getUrl('transformationName')? My system contains files with names such as /assets/...
Jan Klan's user avatar
  • 215
5 votes
1 answer
1k views

How to encode links in email templates?

We have a problem related to the escaping of the & in the password reset URL not being escaped. This link: http://yoursite/admin/actions/users/setpassword?code=abcd&id=1234 somehow, this ...
gromgull's user avatar
  • 631