소스 검색

[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.")
Fabien Potencier 14 년 전
부모
커밋
314684df24
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/FrameworkBundle/HttpKernel.php

+ 1 - 1
src/Symfony/Bundle/FrameworkBundle/HttpKernel.php

@@ -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);