Version 5.0.3
Added
- Add an example
config/blacklist-sandbox.phpandconfig/whitelist-sandbox.phpfiles for user-customizable Twig sandbox environments - Add
SecurityPolicy::createFromFile()to create a new Twig sandbox from a config file in theconfig/directory
Changed
- Cleaned up the
BlacklistSecurityPolicyto no longer blacklist innocuous tags/filters/functions