Skip to content

Commit f1b5c69

Browse files
committed
[HttpFoundation] do not use server variable PATH_INFO because it is already decoded and thus symfony is fragile to double encoding of the path
1 parent 5ba8bd6 commit f1b5c69

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ApacheRequest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,4 @@ protected function prepareBaseUrl()
4040

4141
return $baseUrl;
4242
}
43-
44-
/**
45-
* {@inheritdoc}
46-
*/
47-
protected function preparePathInfo()
48-
{
49-
return $this->server->get('PATH_INFO') ?: substr($this->prepareRequestUri(), strlen($this->prepareBaseUrl())) ?: '/';
50-
}
5143
}

0 commit comments

Comments
 (0)