summaryrefslogtreecommitdiffstats
path: root/core/js/config.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/config.php')
-rw-r--r--core/js/config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/js/config.php b/core/js/config.php
index 197047ed8b8..c2e6213e8f7 100644
--- a/core/js/config.php
+++ b/core/js/config.php
@@ -32,6 +32,10 @@
*
*/
+if(!\OC::$server->getRequest()->passesStrictCookieCheck()) {
+ die();
+}
+
// Set the content type to Javascript
header("Content-type: text/javascript");