Permalink
Browse files

[HttpFoundation] do not use server variable PATH_INFO because it is a…

…lready decoded and thus symfony is fragile to double encoding of the path
  • Loading branch information...
Tobion committed Apr 12, 2013
1 parent c8889c2 commit d552e4c3962b79ff6115b9bb12919c2802ca7d8a
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/Symfony/Component/HttpFoundation/ApacheRequest.php
@@ -40,12 +40,4 @@ protected function prepareBaseUrl()
return $baseUrl;
}
/**
* {@inheritdoc}
*/
protected function preparePathInfo()
{
return $this->server->get('PATH_INFO') ?: substr($this->prepareRequestUri(), strlen($this->prepareBaseUrl())) ?: '/';
}
}

0 comments on commit d552e4c

Please sign in to comment.