Merge pull request #46394 from nextcloud/backport/46320/stable28

[stable28] perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP
pull/46436/head
Joas Schilling 2024-07-11 09:19:11 +07:00 committed by GitHub
commit ef5249bb64
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

@ -52,6 +52,7 @@ class Internal extends Session {
public function __construct(string $name) {
set_error_handler([$this, 'trapError']);
$this->invoke('session_name', [$name]);
$this->invoke('session_cache_limiter', ['']);
try {
$this->startSession();
} catch (\Exception $e) {