Skip to content
Snippets Groups Projects
Commit cf6db7a7 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Merge pull request #2085 from owncloud/csp_shitty-browsers

Only send the standard headers
parents ee00ddeb a9700614
Branches
No related tags found
No related merge requests found
......@@ -200,7 +200,6 @@ class OC_Template{
.'img-src *; '
.'font-src \'self\' data:');
header('Content-Security-Policy:'.$policy); // Standard
header('X-WebKit-CSP:'.$policy); // Older webkit browsers
$this->findTemplate($name);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment