]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: Do not check for strict cookie when running webcron backport/49130/stable30 49310/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:27:35 +0000 (12:27 +0000)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
lib/base.php

index 7654aef2b6092acae928c67fbd0fb92b2e49f3d6..bf23fd19a3f899721397cfb7d1572bfd9412b690 100644 (file)
@@ -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;
                        }