You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Roy T. Fielding" <fi...@kiwi.ICS.UCI.EDU> on 1997/07/03 20:06:10 UTC
Re: [PATCH] to fix mod_userdir's broken handling of ///~user
> As pointed out by Nick Allen <na...@acm.org> in PR#805, mod_userdir
> makes the assumption that r->uri *has* to start with "/~" or else it
> won't work. "///~user" will not. This patch addresses that by
> collapsing duplicated slashes before making the test.
>
> It's unclear whether "/~user" and "///~user" should be considered
> equivalent. Any thoughts? Roy? I can't seem to find anything onw
> way or the other..
They are not equivalent. However, it is reasonable to do an external
redirect to the fixed URL.
....Roy