Skip to content

Commit

Permalink
Improve Twig security policy
Browse files Browse the repository at this point in the history
Follow up to 106daa2...7cb148c. Thanks to @ka1n4t for the additional review.
  • Loading branch information
Luke Towers committed Nov 13, 2020
1 parent 16e0bd4 commit d34fb8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/system/twig/SecurityPolicy.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ final class SecurityPolicy implements SecurityPolicyInterface
protected $blockedMethods = [
'addDynamicMethod',
'addDynamicProperty',
'bindEvent',
'bindEventOnce',
];

/**
Expand Down

0 comments on commit d34fb8a

Please # to comment.