application icon indicating copy to clipboard operation
application copied to clipboard

Route constructUrl incorrectly builds a URL on a non-standard port

Open tomas-kulhanek opened this issue 3 years ago • 1 comments

Version: 3.1.4

Bug Description

If a port other than the standard port is used, Router::constructUrl returns a URL without a non-standard port in the case of an absolute route.

Steps To Reproduce

Start application on other port than 80 or 443. Use Route //%domain%/<presenter>/<action>[/<id>]

Expected Behavior

Route::constructUrl returns a url with the same port as the one in the request

tomas-kulhanek avatar Oct 12 '21 18:10 tomas-kulhanek

In my opinion, the problem will go down to nette/routing

and maybe duplication of #164

tomas-kulhanek avatar Oct 12 '21 18:10 tomas-kulhanek