[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

non-canonical paths in authz sections

From: David Glasser <glasser_at_mit.edu>
Date: 2007-06-05 19:07:12 CEST

It appears that if you accidentally put a trailing slash in a section
header in an authz file, like

[/some/path/]

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?

--dave

-- 
David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 5 19:07:23 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.