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

Re: PATCH: simple regexp support in mod_authz_svn

From: André Malo <nd_at_perlig.de>
Date: 2005-02-17 20:36:32 CET

* Josh Siegel wrote:

> These patches give you both simple regular expression support (unix
> shell like) in mod_authz_svn as well as the ability to make all string
> comparisons case insensitive. You turn on regular expression support by
> setting AuthzSVNRegexp in your apache.conf file. Setting
> AuthzSVNCaseInsensitiveNameMatches to On makes all checks case
> insensitive.

Uuh. First I wouldn't call it regex. The stuff is called wildcards :)
Second, I wouldn't name the directives that long (Further I'd compress them
into one directive AuthzSVNOptions or so). And last but not least, apache
itself provides full featured regexps (PCRE) and fnmatch functions, which
should be used. I could help to rework the patch accordingly, if you like.

nd

-- 
"Das Verhalten von Gates hatte mir bewiesen, dass ich auf ihn und seine
beiden Gefährten nicht zu zählen brauchte" -- Karl May, "Winnetou III"
Im Westen was neues: <http://pub.perlig.de/books.html#apache2>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 17 20:37:41 2005

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.