When I grep to see where the esi_listener service is used, I only find these matches:
12:20 ~/Sites/exercise (esi)$ grep -r "esi_listener" * vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/ esi.xml: <parameter key="esi_listener.class">Symfony\Component \HttpKernel\HttpCache\EsiListener</parameter> vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/ esi.xml: <service id="esi_listener" class="%esi_listener.class %"> Does that mean this esi_listener is never used ? which would explain why the header is never added. 12:20 ~/Sites/exercise (esi)$ grep -r "addSurrogateControl" * vendor/symfony/src/Symfony/Component/HttpKernel/ bootstrap_cache.php: public function addSurrogateControl(Response $response) vendor/symfony/src/Symfony/Component/HttpKernel/HttpCache/Esi.php: public function addSurrogateControl(Response $response) vendor/symfony/src/Symfony/Component/HttpKernel/HttpCache/ EsiListener.php: $this->esi->addSurrogateControl($response); vendor/symfony/tests/Symfony/Tests/Component/HttpKernel/HttpCache/ EsiTest.php: $esi->addSurrogateControl($response); vendor/symfony/tests/Symfony/Tests/Component/HttpKernel/HttpCache/ EsiTest.php: $esi->addSurrogateControl($response); -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
