In message <dd929cd9109b0a4d8c34b732a6d35cc43c34e...@mbx03.exg5.exghost.com>, N aama Bamberger writes:
>I get this error: > >Invalid hex char in %xx escape >(input Line 107 Pos 28) > if (req.url ~ "(.*)%[0-9a-fA-F]$") { >---------------------------###-------------- > Try: %25 One of the decisions I had most trouble with, was deciding which kind of escape-mechanism we wanted for strings in VCL. In the end I settled for URL-%xx encoding, because I pressume webmasters know it, and because it avoids a nightmare of back-slashes in regexps. I'm not 100% convinced that was the perfect decision... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 p...@freebsd.org | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ varnish-misc mailing list varnish-misc@projects.linpro.no http://projects.linpro.no/mailman/listinfo/varnish-misc