Files
2019-06-30 14:51:54 +02:00

14 lines
267 B
Plaintext

--TEST--
"include" tag sandboxed
--TEMPLATE--
{{ include("foo.twig", sandboxed = true) }}
--TEMPLATE(foo.twig)--
{{ foo|e }}
{{ foo|e }}
--DATA--
return []
--EXCEPTION--
Twig\Sandbox\SecurityNotAllowedFilterError: Filter "e" is not allowed in "foo.twig" at line 4.