From: jan@unixpapa.com Date: Fri, 26 Mar 2010 01:45:52 +0000 (+0000) Subject: Allow group names to be quoted on "Require group" line. X-Git-Tag: mod_authz_unixgroup-1.0.3~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91f01a29af8642d019d502968c95dc1ee1b6feb0;p=apache-authnz-external Allow group names to be quoted on "Require group" line. --- diff --git a/mod_authz_unixgroup/CHANGES b/mod_authz_unixgroup/CHANGES index 0ba8c31..2b3682c 100644 --- a/mod_authz_unixgroup/CHANGES +++ b/mod_authz_unixgroup/CHANGES @@ -1,3 +1,9 @@ +v1.0.3 (Jan Wolter - ) +------------------------------------ + * Allow group names to be quoted, so that you can have group names with + spaces in them. This change was suggested by David Homborg. Not yet + tested. + v1.0.2 (Jan Wolter - May 21, 2009) ------------------------------------ * Adding copyright and Apache Version 2.0 license in LICENSE and NOTICE diff --git a/mod_authz_unixgroup/mod_authz_unixgroup.c b/mod_authz_unixgroup/mod_authz_unixgroup.c index 392a0c2..e373c53 100644 --- a/mod_authz_unixgroup/mod_authz_unixgroup.c +++ b/mod_authz_unixgroup/mod_authz_unixgroup.c @@ -125,7 +125,7 @@ static int check_unix_group(request_rec *r, const char *grouplist) /* Loop through list of groups passed in */ while (*grouplist != '\0') { - w= ap_getword_white(r->pool, &grouplist); + w= ap_getword_conf(r->pool, &grouplist); if (apr_isdigit(w[0])) { /* Numeric group id */