Skip to content

[BrowserKit] Corrected HTTP_HOST logic #15427

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

Closed
wants to merge 1 commit into from

Conversation

Naktibalda
Copy link
Contributor

HTTP_HOST is just a header - it does not override URI,
uri does not override HTTP_HOST header.
If HTTP_HOST is not set then and only then hostname is extracted from uri.

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #15398
License MIT
Doc PR

I made a new pull request, because I have broken the first one with rebase.

@dunglas
Copy link
Member

dunglas commented Oct 14, 2015

I already got problems with this feature and this change looks fine to me however it should be merged in master because it will break code relying on the current behavior.

@Naktibalda
Copy link
Contributor Author

I created a new pull request to master branch. #16265

@Naktibalda Naktibalda closed this Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants