summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-10-30 16:19:39 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-10-30 16:19:39 +0100
commit90e523ead09436c54993ea527a1eec3faad7a0bd (patch)
tree077291c8f6f6ba3dfd5415da90ee7b28868376ae /lib
parent18f7f582acbb27b5ed873563b5714ed4b493f468 (diff)
parentb3f881748d968779120aa702142ed47eb66251ba (diff)
downloadnextcloud-server-90e523ead09436c54993ea527a1eec3faad7a0bd.tar.gz
nextcloud-server-90e523ead09436c54993ea527a1eec3faad7a0bd.zip
Merge pull request #11858 from owncloud/fix-11064
Allow any outgoing XHR connections
Diffstat (limited to 'lib')
-rw-r--r--lib/private/response.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/response.php b/lib/private/response.php
index caa382af776..cf18115111a 100644
--- a/lib/private/response.php
+++ b/lib/private/response.php
@@ -212,7 +212,8 @@ class OC_Response {
. 'frame-src *; '
. 'img-src *; '
. 'font-src \'self\' data:; '
- . 'media-src *');
+ . 'media-src *; '
+ . 'connect-src *');
header('Content-Security-Policy:' . $policy);
// https://developers.google.com/webmasters/control-crawl-index/docs/robots_meta_tag