Re: [PATCH] Feature for substituting header matches

2018-03-19 Thread Willy Tarreau
Hi Darren, On Fri, Feb 23, 2018 at 05:29:47PM +, Darren Demicoli wrote: > Hi all > > Recently I needed to substitute http headers in requests such as the > following: > > From > Referer: https://a-b-c.example.com/x-caliber > To > Referer: https://a.b.c.example.com/x-caliber > > Basically

[PATCH] Feature for substituting header matches

2018-02-23 Thread Darren Demicoli
Hi all Recently I needed to substitute http headers in requests such as the following: From Referer: https://a-b-c.example.com/x-caliber To Referer: https://a.b.c.example.com/x-caliber Basically any hyphen in the subdomain part of example.com needed to be replaced by dots, but any other