Skip to content

Commit 04f4315

Browse files
committed
[HttpKernel] Adjust priority of CacheAttributeListener to ensure Vary header is not skipped
1 parent 615378c commit 04f4315

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/EventListener/CacheAttributeListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public static function getSubscribedEvents(): array
174174
{
175175
return [
176176
KernelEvents::CONTROLLER_ARGUMENTS => ['onKernelControllerArguments', 10],
177-
KernelEvents::RESPONSE => ['onKernelResponse', -10],
177+
KernelEvents::RESPONSE => ['onKernelResponse', 10],
178178
];
179179
}
180180

0 commit comments

Comments
 (0)