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

[PATCH] issue #2662, yet another authz wildcards support patch...

From: Gerald Macinenti <gerald.macinenti_at_letitwave.fr>
Date: Wed, 28 May 2008 17:05:51 +0200

Hi,

Here is a simple patch which seams to work for us in order to use
wildcards in authz access file paths.

I've seen the patch by Rodrigo Gallardo but frankly didn't understand
all the details (I'm not a Subversion nor a C expert sorry ;)), but I
think mine takes the problem at a lower level, or maybe is it just to naive?

I basically defined a find_section function to replace find_option in
svn_config_enumerate2 and used apr_fnmatch to get the wildcard matching
of configuration sections.

I didn't write any specific test yet but existing tests passed well.

I submit it to get some feedback/advises about it and then come back
with a better one if it can be useful.

Cheers.

-- 
Gerald MACINENTI, System/Network Administrator
LET IT WAVE, http://www.letitwave.fr
8-16, rue Paul-Vaillant-Couturier, 92240 Malakoff, FRANCE
Ph. +33-1-4092-5454 - Fax. +33-1-4092-5442


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-05-28 17:06:06 CEST

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