Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 9222 invoked by uid 500); 27 Jan 2001 13:10:02 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 9211 invoked from network); 27 Jan 2001 13:10:01 -0000 Message-ID: <3A72C831.6C784315@eurielec.etsit.upm.es> Date: Sat, 27 Jan 2001 14:08:01 +0100 From: "Guille (Bisho)" Reply-To: bisho@eurielec.etsit.upm.es Organization: Eurielec X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: es,en MIME-Version: 1.0 To: "new-httpd@apache.org" Subject: Extra line in returned headers apache 2.0beta-dev Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N If you make a GET of an invalid URL (/dir/../../) with HTTP/1.1 you get an invalid response from de apache server 2.0 beta. It adds: [Sat Jan 27 05:01:38 2001] [error] [client 138.100.17.11] client sent HTTP/1.1 As te first line of the headers, and the browsers show everithing followind this line as content of the page. ------------------------- $ telnet httpd.apache.org 80 Trying 64.208.42.41... Connected to httpd.apache.org. Escape character is '^]'. GET /docs-2.0/../../ HTTP/1.1 Server: httpd.apache.org Connection: close [Sat Jan 27 05:01:38 2001] [error] [client 138.100.17.11] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /docs-2.0/../../ HTTP/1.1 400 Bad Request Date: Sat, 27 Jan 2001 13:01:18 GMT Server: Apache/2.0b1-dev (Unix) Content-Length: 384 Connection: close Content-Type: text/html; charset=iso-8859-1 400 Bad Request

Bad Request

Your browser sent a request that this server could not understand.

client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /docs-2.0/../../


Apache/2.0b1-dev Server at dev.apache.org Port 80
Connection closed by foreign host. ------------------------- Width HTTP/1.0 it doesn't happen: ------------------------- $ telnet httpd.apache.org 80 Trying 64.208.42.41... Connected to httpd.apache.org. Escape character is '^]'. GET /docs-2.0/../../ HTTP/1.0 HTTP/1.1 400 Bad Request Date: Sat, 27 Jan 2001 13:05:43 GMT Server: Apache/2.0b1-dev (Unix) Content-Length: 345 Connection: close Content-Type: text/html; charset=iso-8859-1 [...] ------------------------- -- \|||||||/ Guillermo P�rez P�rez < o o > - bisho@onirica.com \ L / - bisho@eurielec.etsit.upm.es -oOOo-------oOOo- On�rica: An�lisis, dise�o e implantaci�n de soluciones inform�ticas http://www.onirica.com