httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: mod_rewrite/1440: Rewrite has problems with urls such as "http://foo/bar//goo.html" (double //'s)
Date Sun, 23 Nov 1997 20:24:04 GMT
There was a discussion of this in the:

	Date: Thu, 03 Jul 1997 07:27:01 -0400
	From: coar@decus.org (Rodent of Unusual Size)
	Subject: [PATCH] to fix mod_userdir's broken handling of ///~user
	Message-id: <97070307270160@decus.org>

thread.

On Sun, 23 Nov 1997, Marc Slemko wrote:

> One could argue that the bug is in Apache accepting URLs with double '/'s
> at all.
> 
> _if_ a resource is a file, and _if_ there are double '/'s in it, then
> it could be argued that Apache should not accept it as is but, in order to
> be nice to users, should send a redirect to the correct URL.
> 
> There is nothing saying that http://foo//bar == http://foo/bar because
> they are not equal.  Some web servers treat them as equal.  Some web
> servers do not, and refuse to accept the second one.
> 
> On Sun, 23 Nov 1997, Rodent of Unusual Size wrote:
> 
> > >From the fingers of Dean Gaudet flowed the following:
> > >
> > >LocationMatch/Location do collapse double slashes, but I consider this to
> > >be a bug.  They are documented to work in the URI space, not in the
> > >filespace. 
> > 
> >     Sounds like a bug to me, too.
> > 
> >     #ken    P-)}
> > 
> 


Mime
View raw message