summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2023-03-21 19:05:39 +0100
committerGitHub <noreply@github.com>2023-03-21 19:05:39 +0100
commitc3a39cbc75585243e286c0e99b245373055e114d (patch)
tree083b214e1c02005937e23896743f491d7c5d228f /lib/base.php
parentc60182065fa172d15867bff77bdc8a18ad0be709 (diff)
parent0e6fccf9e1d67c0fc3ef76b4dce600eb41ac6aa5 (diff)
downloadnextcloud-server-c3a39cbc75585243e286c0e99b245373055e114d.tar.gz
nextcloud-server-c3a39cbc75585243e286c0e99b245373055e114d.zip
Merge pull request #37305 from nextcloud/fix/security/log-failing-strict-cookie-check
fix(security): Log failing strict cookie check
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/base.php b/lib/base.php
index 57aad21ecd7..86005a96954 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -565,6 +565,7 @@ class OC {
// All other endpoints require the lax and the strict cookie
if (!$request->passesStrictCookieCheck()) {
+ logger('core')->warning('Request does not pass strict cookie check');
self::sendSameSiteCookies();
// Debug mode gets access to the resources without strict cookie
// due to the fact that the SabreDAV browser also lives there.