Allow any outgoing XHR connections
Quickfix for https://github.com/owncloud/core/issues/11064
This commit is contained in:
parent
e8703f648d
commit
b3f881748d
|
@ -831,7 +831,7 @@ $CONFIG = array(
|
|||
'custom_csp_policy' =>
|
||||
"default-src 'self'; script-src 'self' 'unsafe-eval'; ".
|
||||
"style-src 'self' 'unsafe-inline'; frame-src *; img-src *; ".
|
||||
"font-src 'self' data:; media-src *",
|
||||
"font-src 'self' data:; media-src *; connect-src *",
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue