Merge pull request #49310 from nextcloud/backport/49130/stable30

[stable30] fix: Do not check for strict cookie when running webcron
This commit is contained in:
Ferdinand Thiessen 2024-11-15 17:19:51 +01:00 committed by GitHub
commit c7fb0ed9c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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;
}