Improved error reporting in a sandboxed template
authorMartin Hasoň <martin.hason@gmail.com>
Fri, 10 Oct 2014 13:36:50 +0000 (15:36 +0200)
committerMartin Hasoň <martin.hason@gmail.com>
Fri, 10 Oct 2014 13:36:50 +0000 (15:36 +0200)
commit58efc421dc4fc3c15c7323babcf7506f6d60787c
treea141627d492db15163cb9d678fc90811a23ed73e
parent9fb15e343e881c9a89b97ee2262d7b8fbf512c6e
Improved error reporting in a sandboxed template
lib/Twig/Node/SandboxedModule.php
lib/Twig/NodeVisitor/Sandbox.php
lib/Twig/Sandbox/SecurityNotAllowedFilterError.php [new file with mode: 0644]
lib/Twig/Sandbox/SecurityNotAllowedFunctionError.php [new file with mode: 0644]
lib/Twig/Sandbox/SecurityNotAllowedTagError.php [new file with mode: 0644]
lib/Twig/Sandbox/SecurityPolicy.php
test/Twig/Tests/Extension/SandboxTest.php
test/Twig/Tests/Fixtures/functions/include/sandbox.test
test/Twig/Tests/Node/SandboxedModuleTest.php