André Øien Langvand <[EMAIL PROTECTED]> writes:
> Thank you, that makes sense now. However, I am still not able to make it
> work. E.g using purge_hash(req.url + '#' + req.http.host + '#$'); throws
> me an syntax error, failing at the apostrophe ('). Also tried diffrent
> variations of quotation marks and backslashes. Is the escaping wrong?

Sorry, my bad: those should be double quotes, not single quotes.

I'm not sure you need the final #, btw.  An easy way to check is to
add a custom header with obj.hash (should work in the latest trunk) to
see what it really looks like.

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to