Files
Twig/test
Fabien Potencier 43a3dbfefb bug #2282 Fix sandbox being left enabled if an exception is thrown while rendering (CarsonF)
This PR was merged into the 1.x branch.

Discussion
----------

Fix sandbox being left enabled if an exception is thrown while rendering

What's happening for me:
- An exception is thrown while rendering inside the sandbox
- Render exception response
- WebProfiler toolbar tries to include a file
- Sandbox is still enabled, so a SecurityException is thrown (which hides the real error)

Commits
-------

171a1d4 Fix sandbox being left enabled if an exception is thrown while rendering with include function
2016-12-13 18:08:17 +01:00
..