--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.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
assignment.test | File | 168 B | 0644 |
|
autoescaping.test | File | 170 B | 0644 |
|
basic.test | File | 153 B | 0644 |
|
expression.test | File | 212 B | 0644 |
|
ignore_missing.test | File | 334 B | 0644 |
|
ignore_missing_exists.test | File | 297 B | 0644 |
|
include_missing_extends.test | File | 334 B | 0644 |
|
missing.test | File | 186 B | 0644 |
|
missing_nested.test | File | 329 B | 0644 |
|
sandbox.test | File | 267 B | 0644 |
|
sandbox_disabling.test | File | 250 B | 0644 |
|
sandbox_disabling_ignore_missing.test | File | 246 B | 0644 |
|
template_instance.test | File | 192 B | 0644 |
|
templates_as_array.test | File | 187 B | 0644 |
|
with_context.test | File | 456 B | 0644 |
|
with_variables.test | File | 230 B | 0644 |
|