httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 58231] RewriteCond can add "Host" to the Vary-Header
Date Mon, 18 Sep 2017 08:00:28 GMT

--- Comment #7 from Luca Toscano <> ---
I found the following example as proof of issues originated from the Vary:

I still haven't been able to get a response with Vary:Host using mod_rewrite
(although I can see from the code that it explicitly set if when it finds it in
a RewriteCond, so probably I am doing something wrong in my config) but I found
another way to get it:

  <If '%{HTTP_HOST} -eq "bla"'> [..] </If>

It makes sense since I can see a add_vary function in util_expr_eval.c. As far
as I understand the RFC explicitly prohibits the Vary: Host header, so it
should be prevented in out codebase. 

Any opinion?

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message