projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7b9ccaca81f12f51c48e0bc879ec9681e0154161
[yaffs-website]
/
sandbox.test
1
--TEST--
2
"include" tag sandboxed
3
--TEMPLATE--
4
{{ include("foo.twig", sandboxed = true) }}
5
--TEMPLATE(foo.twig)--
6
7
8
{{ foo|e }}
9
{{ foo|e }}
10
--DATA--
11
return array()
12
--EXCEPTION--
13
Twig_Sandbox_SecurityNotAllowedFilterError: Filter "e" is not allowed in "foo.twig" at line 4.