mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Improve Twig security policy
Follow up to 106daa2930...7cb148c167
. Thanks to @ka1n4t for the additional review.
This commit is contained in:
parent
16e0bd4d09
commit
d34fb8ab51
@ -20,6 +20,8 @@ final class SecurityPolicy implements SecurityPolicyInterface
|
|||||||
protected $blockedMethods = [
|
protected $blockedMethods = [
|
||||||
'addDynamicMethod',
|
'addDynamicMethod',
|
||||||
'addDynamicProperty',
|
'addDynamicProperty',
|
||||||
|
'bindEvent',
|
||||||
|
'bindEventOnce',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user