Re: non-canonical paths in authz sections
David Glasser wrote:
> It appears that if you accidentally put a trailing slash in a section
> header in an authz file, like
> it will never be matched. (At least, that's what a bit of testing and
> source diving reveals; there might be some cases where it does.) This
> happens for any sort of non-canonical path, but trailing slashes are
> the easiest to do by accident.
> This is really confusing and should be fixed.
> Is the correct fix to allow authz file writers to write non-canonical
> paths and canonicalize them when they're matched against, or to throw
> an error if a non-canonical path is specified?
Bummer thing about an error in this situation is that the folks who see the
error might not be able to fix it (users vs. admins). Besides,
canonicalizing the paths automatically seems the more user-friendly thing to do.
C. Michael Pilato <email@example.com>
CollabNet <> www.collab.net <> Distributed Development On Demand
Received on Tue Jun 5 21:01:46 2007
This is an archived mail posted to the Subversion Dev