mirror of
https://github.com/twigphp/Twig.git
synced 2026-11-04 18:14:55 +00:00
Add an allow-list for tests to the sandbox security policy
This commit is contained in:
@@ -184,6 +184,7 @@ final class ModuleNode extends Node implements CoercesChildrenToStringInterface
|
||||
->write("use Twig\Sandbox\SecurityNotAllowedTagError;\n")
|
||||
->write("use Twig\Sandbox\SecurityNotAllowedFilterError;\n")
|
||||
->write("use Twig\Sandbox\SecurityNotAllowedFunctionError;\n")
|
||||
->write("use Twig\Sandbox\SecurityNotAllowedTestError;\n")
|
||||
->write("use Twig\Source;\n")
|
||||
->write("use Twig\Template;\n")
|
||||
->write("use Twig\TemplateWrapper;\n")
|
||||
|
||||
Reference in New Issue
Block a user