Possible bug in std vmod, using backtrack and tolower, 4.0.2

Andreas Plesner Jacobsen apj at mutt.dk
Mon Nov 17 17:06:09 CET 2014


On Mon, Nov 17, 2014 at 07:43:34AM -0800, T. Pascal wrote:

> That's three or four vcl lines to accomplish something that seems like a
> workaround to a bug. :)

It's definitel definitely not a bug. Semantically and effectively you're
lowercasing the string "\1". You could lowercase req.url before the regex to
accomplish this in one line.

-- 
Andreas



More information about the varnish-misc mailing list