[FrameworkBundle] made ESI URL relative as allowed by the spec (no need to generate absolute URLs)
see http://www.w3.org/TR/esi-lang (Section 3.1 "Relative URIs will be resolved relative to the template.")
This commit is contained in:
parent
c67dd2bb68
commit
314684df24
@ -169,7 +169,7 @@ class HttpKernel extends BaseHttpKernel
|
||||
'controller' => $controller,
|
||||
'path' => $attributes ? http_build_query($attributes) : 'none',
|
||||
'_format' => $this->container->get('request')->getRequestFormat(),
|
||||
), true);
|
||||
));
|
||||
|
||||
if ($query) {
|
||||
$uri = $uri.'?'.http_build_query($query);
|
||||
|
Reference in New Issue
Block a user