[HttpFoundation] do not use server variable PATH_INFO because it is already decoded and thus symfony is fragile to double encoding of the path
This commit is contained in:
parent
c8889c2c73
commit
d552e4c396
@ -40,12 +40,4 @@ class ApacheRequest extends Request
|
||||
|
||||
return $baseUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function preparePathInfo()
|
||||
{
|
||||
return $this->server->get('PATH_INFO') ?: substr($this->prepareRequestUri(), strlen($this->prepareBaseUrl())) ?: '/';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user