[FrameworkBundle] clean up Request before forwarding

This commit is contained in:
Fabien Potencier 2010-08-14 22:24:55 +02:00
parent c9ff42955b
commit 0da7295a9c

View File

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