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

Re: [PATCH] Make mod_authz_svn to apply the authz checks against upper/lowercased usernames

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: Thu, 13 Mar 2008 11:44:25 +0530

> I have some simplifications for that (attached, untested).
>
> while (*c) {
> - *c = convert_func(*c);
> + *c = (to_uppercase ? apr_toupper(*c) : apr_tolower(*c));
> ++c;

I thought of this approach, but stayed away from it as 'to_upper check'
happens for every character in a loop.

Thanks

With regards
Kamesh Jayachandran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-03-13 07:15:07 CET

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.