mirror of
https://github.com/Luzifer/repo-template.git
synced 2024-12-23 20:51:19 +00:00
10 lines
284 B
Smarty
10 lines
284 B
Smarty
|
{{ "<script>alert('xss');</script>" }}
|
||
|
{% autoescape off %}
|
||
|
{{ "<script>alert('xss');</script>" }}
|
||
|
{% endautoescape %}
|
||
|
{% autoescape on %}
|
||
|
{{ "<script>alert('xss');</script>" }}
|
||
|
{% endautoescape %}
|
||
|
{% autoescape off %}
|
||
|
{{ "<script>alert('xss');</script>"|escape }}
|
||
|
{% endautoescape %}
|