httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James A. Sutherland" <ja...@cam.ac.uk>
Subject Re: over-aggressive redirection in mod_dir
Date Tue, 27 Feb 2001 17:32:24 GMT
On Tue, 27 Feb 2001, Greg Stein wrote:

> On Tue, Feb 27, 2001 at 12:33:25PM +0000, James A. Sutherland wrote:
> > On Tue, 27 Feb 2001, Rodent of Unusual Size wrote:
> > > Dale Ghent wrote:
> > > >
> > > > Correct or not, they are equivalent.
> > >
> > > No, they are not.
> >
> > Indeed - and in another way not yet mentioned...
> >
> > Think about relative links. If I request "/foo/help.html", and then click
> > on a link to "rtfm.html" on that page, I am requesting "/foo/rtfm.html".
> >
> > Now I'll try "/foo/", and do the same. Again, I'm requesting
> > "/foo/rtfm.html". OK?
> >
> > Now think about "/foo" - logically, clicking on "rtfm.html" on THAT URL's
> > HTML would be a request for "/rtfm.html". Oops.
>
> We aren't talking about GETs. What you state is correct, but only with
> respect to a GET.
>
> Things like PROPFIND and OPTIONS don't have the issue you describe. The
> current CVS code only does the redirect for the GET and HEAD methods.

Hrmm?! I don't like the sound of that... the URL would appear valid for
one method, but result in a 30x for another?!


James.


Mime
View raw message