summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-07-20 17:37:30 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-07-20 18:37:57 +0200
commita299fa38a9172f16e4bc48d4bd4f9807cec2f737 (patch)
treeabd17d7cc5eabc8acf7cb5b1acb30a12abe1581e /apps
parent7cdf6402ff9a0e07866ca8bcfcffd0e0897b646a (diff)
downloadnextcloud-server-a299fa38a9172f16e4bc48d4bd4f9807cec2f737.tar.gz
nextcloud-server-a299fa38a9172f16e4bc48d4bd4f9807cec2f737.zip
[master] Port Same-Site Cookies to master
Fixes https://github.com/nextcloud/server/issues/50
Diffstat (limited to 'apps')
-rw-r--r--apps/files/lib/Controller/ApiController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/lib/Controller/ApiController.php b/apps/files/lib/Controller/ApiController.php
index 9a46cdd0fef..a442d7ea909 100644
--- a/apps/files/lib/Controller/ApiController.php
+++ b/apps/files/lib/Controller/ApiController.php
@@ -86,6 +86,7 @@ class ApiController extends Controller {
*
* @NoAdminRequired
* @NoCSRFRequired
+ * @StrictCookieRequired
*
* @param int $x
* @param int $y