Skip to content
Snippets Groups Projects
Unverified Commit c4cafae8 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

frame-src doesn't respect the nonce attribute

parent 6db35584
No related branches found
No related tags found
No related merge requests found
......@@ -494,9 +494,6 @@ class EmptyContentSecurityPolicy {
if(!empty($this->allowedFrameDomains)) {
$policy .= 'frame-src ';
if(is_string($this->useJsNonce)) {
$policy .= '\'nonce-' . base64_encode($this->useJsNonce) . '\' ';
}
$policy .= implode(' ', $this->allowedFrameDomains);
$policy .= ';';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment