There was an error while loading. Please reload this page.
1 parent 3822db5 commit 33d7019Copy full SHA for 33d7019
1 file changed
lib/base.php
@@ -363,6 +363,13 @@ private static function printUpgradePage(\OC\SystemConfig $systemConfig): void {
363
public static function initSession(): void {
364
$request = Server::get(IRequest::class);
365
366
+ // Do not initialize sessions for 'status.php' requests
367
+ // Monitoring endpoints can quickly flood session handlers
368
+ // and 'status.php' doesn't require sessions anyway
369
+ if (str_ends_with($request->getScriptName(), '/status.php')) {
370
+ return;
371
+ }
372
+
373
// TODO: Temporary disabled again to solve issues with CalDAV/CardDAV clients like DAVx5 that use cookies
374
// TODO: See https://github.com/nextcloud/server/issues/37277#issuecomment-1476366147 and the other comments
375
// TODO: for further information.
0 commit comments