Merge pull request #2085 from owncloud/csp_shitty-browsers

Only send the standard headers
remotes/origin/stable5
Lukas Reschke 14 years ago
commit cf6db7a7cd
  1. 1
      lib/template.php

@ -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);
}

Loading…
Cancel
Save