Re: %20 in URLs (was Re: Squid and spaces in URLs)

From: Duane Wessels <>
Date: Fri, 16 Oct 1998 11:39:39 -0600

Marc van Selm writes:

>In url.c we change %xx into a character. uses %20 in

we do?

>their URL's (stupid?) This translates here in a space and so triggers a
>protocol error.
>/* convert %xx in url string to a character
> * Allocate a new string and return a pointer to converted string */
>char *
>url_convert_hex(char *org_url, int allocate)

url_convert_hex() is only used by gopher functions. It should probably
be taken out and gopher should use rfc1738_*escape() instead.

but squid does not "unescape" %xx characters in URLs, except in the
ACL checks I guess.

Duane W.
Received on Fri Oct 16 1998 - 11:31:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:32 MST