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...
1 parent 5ba8bd6 commit f1b5c697e92d4508cdb16a333a7f2a32eaeefe98 @Tobion Tobion committed Apr 12, 2013
Showing with 0 additions and 8 deletions.
  1. +0 −8 ApacheRequest.php
View
8 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 f1b5c69

Please sign in to comment.