mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
N°8017 - Security - dependabot - Symfony's VarDumper vulnerable to un… (#731)
Upgrade all Symfony components to last security fix (~6.4.0)
This commit is contained in:
@@ -106,4 +106,11 @@ class RequestStack
|
||||
|
||||
throw new SessionNotFoundException();
|
||||
}
|
||||
|
||||
public function resetRequestFormats(): void
|
||||
{
|
||||
static $resetRequestFormats;
|
||||
$resetRequestFormats ??= \Closure::bind(static fn () => self::$formats = null, null, Request::class);
|
||||
$resetRequestFormats();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user