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
Received on Mon Jan 21 2008 - 21:14:11 MST
This archive was generated by hypermail pre-2.1.9 : Wed Jan 30 2008 - 12:00:09 MST