Index: RewriteRouter.php =================================================================== --- RewriteRouter.php (revision 2914) +++ RewriteRouter.php (working copy) @@ -321,11 +321,9 @@ $this->addDefaultRoutes(); } - $pathInfo = $request->getPathInfo(); - /** Find the matching route */ foreach (array_reverse($this->_routes) as $name => $route) { - if ($params = $route->match($pathInfo)) { + if ($params = $route->match($request)) { foreach ($params as $param => $value) { $request->setParam($param, $value); }