Thank you @vvvphpdev. You got me in the right frame of mind to get the right file.
My solution is to add to the Symfony\Component\HttpFoundation\RequestprepareRequestUri() function the following code:
$this->server->remove('ORIG_PATH_INFO');
}
if ($requestUri !== $this->server->get('PATH_INFO')) {
$requestUri = '/' . $this->server->get('PATH_INFO');
}
// normalize the request URI to ease creating sub-requests from this request
$this->server->set('REQUEST_URI', $requestUri);
However I would like to update it so that can be an optional case.
Lol, you must check my answer instead of yours @nchristiansen
I told you, you could extends those classes and replace it inside your config/app.php under key providers, are you familiar with class wrapping design?