]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: http-htx: Do case-insensive comparisons on Host header name
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 28 Feb 2020 08:47:07 +0000 (09:47 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 28 Feb 2020 09:49:09 +0000 (10:49 +0100)
commit3e1f7f4a39456051873aec75eb7d9e8f4ace6813
tree085a451921afa90714518592df70d3bf06edd8aa
parent2711e51016cfc408deb03e66f46bea0fa5bf954c
BUG/MINOR: http-htx: Do case-insensive comparisons on Host header name

When a header is added or modified, in http_add_header() or
http_replace_header(), a comparison is performed on its name to know if it is
the Host header and if the authority part of the uri must be updated or
not. This comparision must be case-insensive.

This patch should fix the issue #522. It must be backported to 2.1.
src/http_act.c
src/http_htx.c