Skip to content

Commit

Permalink
[FrameworkBundle] made ESI URL relative as allowed by the spec (no ne…
Browse files Browse the repository at this point in the history
…ed to generate absolute URLs)

see http://www.w3.org/TR/esi-lang (Section 3.1 "Relative URIs will be resolved relative to the template.")
  • Loading branch information
fabpot committed Apr 21, 2011
1 parent c67dd2b commit 314684d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
Expand Up @@ -169,7 +169,7 @@ public function generateInternalUri($controller, array $attributes = array(), ar
'controller' => $controller,
'path' => $attributes ? http_build_query($attributes) : 'none',
'_format' => $this->container->get('request')->getRequestFormat(),
), true);
));

if ($query) {
$uri = $uri.'?'.http_build_query($query);
Expand Down

0 comments on commit 314684d

Please sign in to comment.