Created
January 9, 2020 10:47
-
-
Save juliusknorr/7266123eafb79296bf4a81bc2acf6f0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: lib/directeditor.php | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- lib/directeditor.php (revision c49b4a2fb8609b30d09fc5914753b64c23cab41b) | |
+++ lib/directeditor.php (date 1578566744661) | |
@@ -244,7 +244,8 @@ | |
$csp->addAllowedFrameDomain($documentServerUrl); | |
} else { | |
$csp->addAllowedFrameDomain($this->urlGenerator->getAbsoluteURL("/")); | |
- } | |
+ $csp->addAllowedScriptDomain($documentServerUrl); | |
+ } | |
$response->setContentSecurityPolicy($csp); | |
return $response; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment