fixed sandbox mode (__toString() method check was not enforced if called implicitly...
authorFabien Potencier <fabien.potencier@gmail.com>
Tue, 25 May 2010 16:01:48 +0000 (18:01 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Tue, 25 May 2010 16:01:55 +0000 (18:01 +0200)
commitb63205a6c45966eb8dbd8e9d6036f078207660a4
treeeff5d51721f28fb6a26f79709d55ea8ea8eef722
parent7ab6dbc16bee00dafbba5f6ea2f44bed93c8e2c0
fixed sandbox mode (__toString() method check was not enforced if called implicitly from a simple statement like {{ article }})
CHANGELOG
lib/Twig/Node/SandboxPrint.php [new file with mode: 0644]
lib/Twig/NodeVisitor/Sandbox.php
test/Twig/Tests/Extension/SandboxTest.php