Re: Squid and spaces in URLs

From: Lars Marowsky-Brée <lmb@dont-contact.us>
Date: Tue, 13 Oct 1998 22:12:45 +0200

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 - 13:57:32 MDT

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