]> git.ipfire.org Git - thirdparty/curl.git/commit
http: check for "Host:" case insensitively
authorDaniel Stenberg <daniel@haxx.se>
Thu, 25 Jan 2024 08:05:19 +0000 (09:05 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Jan 2024 12:53:09 +0000 (13:53 +0100)
commit879a44084f9d49b6f823614b118e6e4dc3fd3b44
tree2aa59a2fe24a0a93810e8b26b8ebbf51ce6e0dfd
parentfe537e21e4b17bab5970343a817fcb9ae874c0f6
http: check for "Host:" case insensitively

When checking if the user wants to replace the header, the check should
be case insensitive.

Adding test 461 to verify

Found-by: Dan Fandrich
Ref: #12782
Closes #12784
lib/http.c
tests/data/Makefile.inc
tests/data/test461 [new file with mode: 0644]