Skip to content

Instantly share code, notes, and snippets.

@juliushaertl
Created January 9, 2020 10:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juliushaertl/7266123eafb79296bf4a81bc2acf6f0d to your computer and use it in GitHub Desktop.
Save juliushaertl/7266123eafb79296bf4a81bc2acf6f0d to your computer and use it in GitHub Desktop.
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