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

Re: non-canonical paths in authz sections

From: David Glasser <glasser_at_mit.edu>
Date: 2007-06-11 04:47:23 CEST

On 6/6/07, David Glasser <glasser@mit.edu> wrote:
> (authz_get_path_access): Instead of directly looking up the sections
> at "path" and "qualified_path", use authz_parse_exact_section to
> enumerate over all sections and check whether the canonicalized
> version of the section name is the section we're looking for.

David Anderson points out that we should try to keep this operation
constant time.

I'll do another patch (actually, pair of patches) which introduces a
section name canonicalizer to svn_config_read and svn_config_merge
instead.

--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 Mon Jun 11 04:47:36 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.