소스 검색

[FrameworkBundle] clean up Request before forwarding

Fabien Potencier 14 년 전
부모
커밋
0da7295a9c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Symfony/Bundle/FrameworkBundle/Controller/InternalController.php

+ 1 - 0
src/Symfony/Bundle/FrameworkBundle/Controller/InternalController.php

@@ -34,6 +34,7 @@ class InternalController extends Controller
         $request = $this['request'];
         $attributes = $request->attributes;
 
+        unset($attributes['path'], $attributes['controller']);
         if ('none' !== $path)
         {
             parse_str($path, $tmp);