On tis, 2008-01-22 at 00:04 +0000, ian j hart wrote: > ref: http://www.mail-archive.com/squid-users%40squid-cache.org/msg52048.html > > Can someone please point me to the code which expands the URL.
Only a sinlge %s is supported. Nothing else.
from errorpage.c/cc:
char *quoted_url = rfc1738_escape_part(urlCanonical(err->request));
httpHeaderPutStrf(&rep->header, HDR_LOCATION, name, quoted_url);
Use of other % codes will result in random garbage or even segfaults..
Regards
Henrik
