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

Fix req.hostname to make it compatible with Express.js #231

Merged
merged 1 commit into from
Jan 20, 2021
Merged

Conversation

eugef
Copy link
Owner

@eugef eugef commented Jan 20, 2021

Hostname includes full domain name with all the subdomains
If Hostname is predefined, then Host header is ignored (to prevent backwards-incompatible changes)

Fixes #230

Hostname includes full domain name with all the subdomains
If Hostname is predefined, then Host header is ignored (to prevent backwards-incompatible changes)

Fixes #230
@eugef eugef merged commit 30e9aff into master Jan 20, 2021
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 this pull request may close these issues.

req.hostname doesn't reflect real hostname
1 participant