Skip to content

Commit 61e49d9

Browse files
committed
Improve Twig security policy
Follow up to 106daa2...7cb148c. Thanks to @ka1n4t for the additional review.
1 parent c5af6c2 commit 61e49d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/system/twig/SecurityPolicy.php

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ final class SecurityPolicy implements SecurityPolicyInterface
2020
protected $blockedMethods = [
2121
'addDynamicMethod',
2222
'addDynamicProperty',
23+
'bindEvent',
24+
'bindEventOnce',
2325
];
2426

2527
/**

0 commit comments

Comments
 (0)