Skip to content

Commit b538d03

Browse files
committed
minor #21589 [Security] add missing Clear-Site-Data directives (alamirault)
This PR was squashed before being merged into the 8.1 branch. Discussion ---------- [Security] add missing `Clear-Site-Data` directives Fix #21583 Commits ------- 9474756 [Security] add missing `Clear-Site-Data` directives
2 parents e0dbbd2 + 9474756 commit b538d03

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

reference/configuration/security.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,8 @@ The ``Clear-Site-Data`` HTTP header clears browsing data (cookies, storage, cach
373373
associated with the requesting website. It allows web developers to have more
374374
control over the data stored by a client browser for their origins.
375375

376-
Allowed values are ``cache``, ``cookies``, ``storage`` and ``executionContexts``.
376+
Allowed values are ``cache``, ``cookies``, ``storage``, ``clientHints``, ``executionContexts``,
377+
``prefetchCache`` and ``prerenderCache``.
377378
It's also possible to use ``*`` as a wildcard for all directives:
378379

379380
.. configuration-block::
@@ -406,6 +407,11 @@ It's also possible to use ``*`` as a wildcard for all directives:
406407
->clearSiteData(['cookies', 'storage']);
407408
};
408409
410+
.. versionadded:: 8.1
411+
412+
The ``clientHints``, ``prefetchCache`` and ``prerenderCache`` options were
413+
introduced in Symfony 8.1.
414+
409415
invalidate_session
410416
..................
411417

0 commit comments

Comments
 (0)