Apache 2.4 changed its default behavior to abort requests/responses with headers not strictly conforming to the HTTP protocol, due to http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-8743
Yet, we have a few tests in LayoutTests/http deliberately sending non-conformant requests/responses to make sure Blink does not crash. These tests no longer work in our current Apache 2.4 setup:
http/tests/misc/non-utf8-header-name.php (non-utf8 character in response header)
http/tests/security/document-domain-canonicalizes.html (requesting domain "sub%2C.subdomain.example.test")
Not sure if any bot is running Apache 2.4, but this is affecting Debian Testing & Mac High Sierra, both of which might be used for dev.
The solution is to add this directive in Apache conf:
HttpProtocolOptions Unsafe
(http://httpd.apache.org/docs/2.4/mod/core.html#httpprotocoloptions)
But there are scary warnings regarding security. I'm not certain if it's safe to do this, even for layout tests only.
Comment 1 by dpranke@chromium.org
, Jan 11 2018