Re: Inconsistency with dhandlers
David Wheeler <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
On May 11, 2004, at 8:47 AM, Jonathan Swartz wrote:
> Right, I can see that $r->filename would be canonicalized. What about
> this:
>
> if (-d $r->filename and $r->uri !~ m{/$}) {
> $m->abort(-1); # decline
> }
>
> I know for a fact that $r->uri will retain the ending /. Seems less
> mysterious than the code above.
Yes, it will retain the ending /, but also a GET string.
Regards,
David
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3