Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
tomas-kulhanek opened this issue Oct 12, 2021 · 1 comment
Closed

Comments

@tomas-kulhanek
Copy link

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
Copy link
Author

tomas-kulhanek commented Oct 12, 2021

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

and maybe duplication of #164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant