We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecfda38 commit df3207eCopy full SHA for df3207e
1 file changed
src/Application/Routers/Route.php
@@ -56,7 +56,6 @@ class Route extends Nette\Object implements Application\IRouter
56
public static $styles = array(
57
'#' => array( // default style for path parameters
58
self::PATTERN => '[^/]+',
59
- self::FILTER_IN => 'rawurldecode',
60
self::FILTER_OUT => array(__CLASS__, 'param2path'),
61
),
62
'?#' => array( // default style for query parameters
@@ -171,7 +170,7 @@ public function match(Nette\Http\IRequest $httpRequest)
171
170
}
172
173
if ($path !== '') {
174
- $path = rtrim($path, '/') . '/';
+ $path = rtrim(rawurldecode($path), '/') . '/';
175
176
177
if (!$matches = Strings::match($path, $re)) {
0 commit comments