diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2024-11-07 16:34:10 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-11-15 12:26:22 +0000 |
commit | a7346ef38c23c9baa037d319b3aac14e1c01be4a (patch) | |
tree | 6a218236e1f5dfe3db206f8bebc09b8ad91831fe | |
parent | ae59aba7805f032a14f42784aa798ba7d838d415 (diff) | |
download | nextcloud-server-backport/49130/stable29.tar.gz nextcloud-server-backport/49130/stable29.zip |
fix: Do not check for strict cookie when running webcronbackport/49130/stable29
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r-- | lib/base.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php index e3ac3f2ee83..4a18bedb8cd 100644 --- a/lib/base.php +++ b/lib/base.php @@ -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; } |