I'll have to assign the contents of the replacement group to a variable and
then lower that variable and then substitute it back in?

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

-T
On Nov 16, 2014 11:56 PM, "Andreas Plesner Jacobsen" <[email protected]> wrote:

> On Sun, Nov 16, 2014 at 05:04:36PM -0800, T. Pascal wrote:
> >
> > sub vcl_rec {
> >   set req.url = regsub(req.url,"([?].*)",std.tolower("\1"));
> > }
>
> You're lowercasing the string "\1", not the contents of the capturing
> group.
>
> --
> Andreas
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to