]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: Do not check for strict cookie when running webcron backport/49130/stable29 49309/head
authorFerdinand Thiessen <opensource@fthiessen.de>
Thu, 7 Nov 2024 15:34:10 +0000 (16:34 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Fri, 15 Nov 2024 12:26:22 +0000 (12:26 +0000)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
lib/base.php

index e3ac3f2ee83ad10b841d4761a4ede2d9538c5a68..4a18bedb8cd3e36d712c6655d9e33917cd48c154 100644 (file)
@@ -577,7 +577,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;
                        }