RE: Squid and spaces in URLs

From: Nottingham, Mark (Australia) <mark_nottingham@dont-contact.us>
Date: Wed, 14 Oct 1998 09:42:21 +1000

probably broken Web site; I've just been revamping a site that
references URL's with (real) spaces in them (mostly in the query
string), and that broke squid. It's nothing to do with the browser.

> -----Original Message-----
> From: Lars Marowsky-Brée [mailto:lmb@pointer.teuto.de]
> Sent: Wednesday, October 14, 1998 6:13 AM
> To: Miquel van Smoorenburg; squid-users@ircache.net
> Subject: Re: Squid and spaces in URLs
>
>
> On 1998-10-13T21:37:24,
> Miquel van Smoorenburg <list-squid@news.cistron.nl> said:
>
> > I know spaces in URLs are not really valid, but most webservers
> > accept them, and squid does not.
>
> They are valid. The webbrowser is supposed to encode that as
> %20 though, so
> their webbrowser is royally broken. Let me guess, it wouldn't be MSIE?
>
> > Currently squid scans for the first space after the URL, expecting
> > a HTTP/1.[01] string after that. I've modified squid so that it
> > starts scanning from the end of the string, so that
> everything between
> > METHOD and HTTP/1.0 is seen as the URL. That works fine and has been
> > running in production on our squid-2.0 server for a couple of days
> > now.
>
> Yeah, this might help... It should be a configure option and
> should be logged
> if it is triggered.
>
> Sincerely,
> Lars Marowsky-Brée
>
> --
> Lars Marowsky-Brée
> Network Management
>
> teuto.net Netzdienste GmbH - DPN Verbund-Partner
>
Received on Tue Oct 13 1998 - 17:23:23 MDT

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