diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2012-12-11 10:40:14 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2012-12-11 10:40:23 +0100 |
commit | 547b1b0225cd1d9561f370a7efd4b76f0f9260f3 (patch) | |
tree | de26b8b0c6da424c09fdaf8415057bcaeae2c227 /Http/HttpUtils.php | |
parent | a24042b565a4395b76622513857a059b2ef26ba3 (diff) | |
download | symfony-security-547b1b0225cd1d9561f370a7efd4b76f0f9260f3.zip symfony-security-547b1b0225cd1d9561f370a7efd4b76f0f9260f3.tar.gz symfony-security-547b1b0225cd1d9561f370a7efd4b76f0f9260f3.tar.bz2 |
[Security] fixed path info encoding (closes #6040, closes #5695)
Diffstat (limited to 'Http/HttpUtils.php')
-rw-r--r-- | Http/HttpUtils.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Http/HttpUtils.php b/Http/HttpUtils.php index 1c87e77..76cfc6a 100644 --- a/Http/HttpUtils.php +++ b/Http/HttpUtils.php @@ -106,7 +106,7 @@ class HttpUtils } } - return $path === $request->getPathInfo(); + return $path === rawurldecode($request->getPathInfo()); } /** |