]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Use generic whitespace character class when parsing
authorAndré Malo <nd@apache.org>
Tue, 6 May 2003 01:13:47 +0000 (01:13 +0000)
committerAndré Malo <nd@apache.org>
Tue, 6 May 2003 01:13:47 +0000 (01:13 +0000)
"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

CHANGES
modules/experimental/mod_auth_ldap.c

diff --git a/CHANGES b/CHANGES
index 4f4214ba0d5a6e1fc1ab70dacbbcd14d3629e728..709eac1ef906566b9fbcf13566fccc2953db7068 100644 (file)
--- 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
index ab87b8f07c78d1e62f8162c62b377c7f09a54d23..920365e6befafdcfa974f6a0a36b8162dd73dbc1 100644 (file)
@@ -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) {
             /*