aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-11-07 16:34:10 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-11-15 12:27:35 +0000
commit1fc6cceef8f3124b8fa7831677841f0a090fcdfb (patch)
tree5a5351a44042f04a313db437d3adca63e9015262
parent52f85a00f4fd0e6f5c0f43b8d4666bf3ea7611cf (diff)
downloadnextcloud-server-1fc6cceef8f3124b8fa7831677841f0a090fcdfb.tar.gz
nextcloud-server-1fc6cceef8f3124b8fa7831677841f0a090fcdfb.zip
fix: Do not check for strict cookie when running webcronbackport/49130/stable30
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r--lib/base.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 7654aef2b60..bf23fd19a3f 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -515,7 +515,9 @@ class OC {
$processingScript = $processingScript[count($processingScript) - 1];
// index.php routes are handled in the middleware
- if ($processingScript === 'index.php') {
+ // and cron.php does not need any authentication at all
+ if ($processingScript === 'index.php'
+ || $processingScript === 'cron.php') {
return;
}