projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Security update to Drupal 8.4.6
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
functions
/
include
/
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.