Skip to content

Commit

Permalink
Merge pull request #49310 from nextcloud/backport/49130/stable30
Browse files Browse the repository at this point in the history
[stable30] fix: Do not check for strict cookie when running webcron
  • Loading branch information
susnux authored Nov 15, 2024
2 parents 2f65ffd + 1fc6cce commit c7fb0ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,9 @@ private static function performSameSiteCookieProtection(\OCP\IConfig $config): v
$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;
}

Expand Down

0 comments on commit c7fb0ed

Please sign in to comment.