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

Hostname Routing Restriction should use SERVER_NAME rather than HTTP_HOST #2573

Closed
nashadalam opened this issue Jun 27, 2014 · 1 comment
Closed
Assignees
Labels
bug A bug report status: medium Medium
Milestone

Comments

@nashadalam
Copy link

If you are using any other port other than 80 the HTTP_HOST will include the port number as well like example:8000. So if you restrict your route to a certain hostname like example the condition will never get fulfilled and the routes will fail.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@sergeyklay sergeyklay added this to the 2.1.0 milestone Jun 23, 2016
@sergeyklay sergeyklay self-assigned this Jun 23, 2016
@sergeyklay
Copy link
Contributor

Fixed in the 2.1.x branch.

@niden niden added bug A bug report status: medium Medium and removed Bug - Medium labels Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: medium Medium
Projects
None yet
Development

No branches or pull requests

3 participants