Disallow eval on the StrictEvalCSP
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
d9aa5ed96d
commit
c21cee248c
|
@ -46,6 +46,6 @@ class StrictEvalContentSecurityPolicy extends ContentSecurityPolicy {
|
|||
* @since 14.0.0
|
||||
*/
|
||||
public function __construct() {
|
||||
$this->inlineStyleAllowed = false;
|
||||
$this->evalScriptAllowed = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue