Re: rewriting the Host header, switching protocols
Madhu <[email protected]> Sun, 18 Jun 2023 12:36:01 +0530 (IST)
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <[email protected]> |
* Fabian Keil <[email protected]> Wrote on Sat, 17 Jun 2023 12:09:05 +0200 > Madhu <[email protected]> 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