mod_rewrite,core: avoid Vary:Host (part 2)
authorLuca Toscano <elukey@apache.org>
Wed, 20 Sep 2017 13:03:41 +0000 (13:03 +0000)
committerLuca Toscano <elukey@apache.org>
Wed, 20 Sep 2017 13:03:41 +0000 (13:03 +0000)
commit714394efe3a4fc4aa8eac02f4de5823dad561fc0
tree519797f2648ffbc16c77b771d5d23fe4d3d08282
parentedd86dd602ff6a4bd696cd8c552c8979bf265788
mod_rewrite,core: avoid Vary:Host (part 2)

This is a follow up of r1808746 after a chat
with Yann on dev@:

- the HTTP:Host variable suffers from the same problem
- the strcasecmp should be used to allow case-sensitive
  comparisons.
- in mod_rewrite is less cumbersome and more clean to just
  make the Host header check in lookup_header, so it will
  be automatically picked up by every part of the code
  that uses it. It shouldn't be a relevant overhead for
  mod_rewrite.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1809028 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/mappers/mod_rewrite.c
server/util_expr_eval.c