[Privoxy-users] rewriting the Host header, switching protocols
Madhu
enometh at meer.net
Sun Jun 18 09:06:01 CEST 2023
* Fabian Keil <20230617120905.3dad0ebf at fabiankeil.de>
Wrote on Sat, 17 Jun 2023 12:09:05 +0200
> Madhu <enometh at meer.net> wrote on 2023-06-15 at 18:17:55:
>> Since the host isn't available in the client-header-filter I figure
>> this means that there has* to be as many client filters as there are
>> hosts involved. This is not really a problem.
[have]
> Actually a dynamic filter can use the $host variable:
> https://www.privoxy.org/gitweb/?p=privoxy.git;a=blob;f=default.filter;h=aaf70a3e242c9944248dcac8316cc4599be0b8b8;hb=HEAD#l57
Thanks
>> Does this need a new sort of forwarding action?
> Thanks for the report. As it turns out this is a bug.
> The attached lightly-tested patch should get this working.
And thanks. I applied it and it fixes the use case I had in my
original post. --Regards, Madhu
More information about the Privoxy-users
mailing list