From: André Malo Date: Tue, 6 May 2003 01:13:47 +0000 (+0000) Subject: Use generic whitespace character class when parsing X-Git-Tag: pre_ajp_proxy~1733 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d5f88cb1a354a0483e7f0330e52942fd28d4bec;p=thirdparty%2Fapache%2Fhttpd.git Use generic whitespace character class when parsing "require" directives, instead of literal spaces only. PR: 17135 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99727 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 4f4214ba0d5..709eac1ef90 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,10 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] + *) mod_auth_ldap: Use generic whitespace character class when parsing + "require" directives, instead of literal spaces only. PR 17135. + [André Malo] + *) Ensure that ssl-std.conf is generated at configure time, and switch to using the expanded config variables to work the same as httpd-std.conf PR 19611 diff --git a/modules/experimental/mod_auth_ldap.c b/modules/experimental/mod_auth_ldap.c index ab87b8f07c7..920365e6bef 100644 --- a/modules/experimental/mod_auth_ldap.c +++ b/modules/experimental/mod_auth_ldap.c @@ -514,7 +514,7 @@ int mod_auth_ldap_auth_checker(request_rec *r) method_restricted = 1; t = reqs[x].requirement; - w = ap_getword(r->pool, &t, ' '); + w = ap_getword_white(r->pool, &t); if (strcmp(w, "valid-user") == 0) { /*