percent sign in vcl strings
cd at sentia.nl
Tue May 31 19:27:22 CEST 2011
It turns out to be pretty painful to try to match a URL that looks like
I spent quite some time in pcre manpages before stumbling on this thread:
The answer there is to use "%25" to match a literal "%", which means the
regex ends up looking this:
req.url ~ "^/%252fmedia%252f"
What about allowing "%%" for a literal "%" like printf() ?
More information about the varnish-misc