You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LocaleListener adds an attribute to the request that is used by the ResponseListener to add a Vary: Accept-Language header.
However, this occurs before the CacheAttributeListener, which doesn't take the attribute's vary property into account if there is already a Vary header on the response.
Is this expected?
How to reproduce
See above.
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Symfony version(s) affected
7.1.0
Description
Cache attribute's
vary
property is silently ignored with following config:And following controller
The LocaleListener adds an attribute to the request that is used by the ResponseListener to add a
Vary: Accept-Language
header.However, this occurs before the CacheAttributeListener, which doesn't take the attribute's
vary
property into account if there is already aVary
header on the response.Is this expected?
How to reproduce
See above.
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: