GitHub user michaelomichael opened a pull request:
https://github.com/apache/tomcat/pull/124
Allow empty 'Host' HTTP header
Sending an empty string for the value of the 'Host' header no longer
results in a 400 (Bad Request) response. This new behaviour reflects
RFC 7230 and is particularly helpful for load balancer ping-style
requests, where there is often limited control over the HTTP request
headers.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62739
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/michaelomichael/tomcat
bug62739_allow_empty_host_header
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tomcat/pull/124.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #124
----
commit 747e1ae5192bc9da978ead09d251496ae2238480
Author: Michael Orr <michael.orr@...>
Date: 2018-10-02T17:09:44Z
Allow empty 'Host' HTTP header
Sending an empty string for the value of the 'Host' header no longer
results in a 400 (Bad Request) response. This new behaviour reflects
RFC 7230 and is particularly helpful for load balancer ping-style
requests, where there is often limited control over the HTTP request
headers.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62739
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]