From b3f881748d968779120aa702142ed47eb66251ba Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 30 Oct 2014 00:00:40 +0100 Subject: Allow any outgoing XHR connections Quickfix for https://github.com/owncloud/core/issues/11064 --- lib/private/response.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/private/response.php') 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 -- cgit v1.2.3