diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-07-20 21:35:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-20 21:35:02 +0200 |
commit | 020a2a6958e48f7a3a29daa2235f6729980850af (patch) | |
tree | fac1cf75e60a7d46c978b7f9aebd811c932da7ab /core/js | |
parent | a17ba2f4889c92e7113606e17cc6b9f66512264f (diff) | |
parent | a299fa38a9172f16e4bc48d4bd4f9807cec2f737 (diff) | |
download | nextcloud-server-020a2a6958e48f7a3a29daa2235f6729980850af.tar.gz nextcloud-server-020a2a6958e48f7a3a29daa2235f6729980850af.zip |
Merge pull request #476 from nextcloud/port-same-site-cookies
[master] Port Same-Site Cookies to master
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/config.php | 4 |
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"); |