Re: [SQU] problem in parseHttpRequest

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 16 Dec 2000 09:31:54 +0100

Enrique Galdú Orduña wrote:
>
> Hi,
>
> I am running Squid-2.3STABLE4 on a linux, today I have a problem with a
> web page: http://www.elpais.es/index.html
>
> It contains the following source:
> <SCRIPT language="JavaScript1.1"
> SRC="http://ad.es.doubleclick.net/adj/www.elpais.es/portada;abr=!ie;sz=468x6
> 0;ord=79973572653298510?">
> </SCRIPT>
>
> It has a ^M in the URL that causes my squid to produce the
> ERR_INVALID_REQUEST error.

Well.. the problem is not actually the ^M but the newline (^J) character
after it.

The HTTP protocol is line based, and if you insert a newline in the
middle of a line is suddenly is two lines, and the protocol syntax gets
destroyed.

--
Henrik Nordstrom
Squid hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Sat Dec 16 2000 - 09:20:18 MST

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