Closed
Description
Symfony version(s) affected: tested on 3.4.18
Description :
A request with a absolute request uri and the default port results in a wrong interpreted request uri.
http://localhost:80/main
gets interpreted as http://localhost/:80/main
Here is the code that filters the scheme and http host out of the absolute request uri. The problem is that the function getHttpHost only returns the port if its not the default one.
symfony/src/Symfony/Component/HttpFoundation/Request.php
Lines 1700 to 1705 in dbf053b