You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2003/05/06 03:13:47 UTC

cvs commit: httpd-2.0/modules/experimental mod_auth_ldap.c

nd          2003/05/05 18:13:47

  Modified:    .        CHANGES
               modules/experimental mod_auth_ldap.c
  Log:
  Use generic whitespace character class when parsing
  "require" directives, instead of literal spaces only.
  
  PR: 17135
  
  Revision  Changes    Path
  1.1161    +4 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.1160
  retrieving revision 1.1161
  diff -u -r1.1160 -r1.1161
  --- CHANGES	5 May 2003 13:42:02 -0000	1.1160
  +++ CHANGES	6 May 2003 01:13:45 -0000	1.1161
  @@ -2,6 +2,10 @@
   
     [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
  
  
  
  1.16      +1 -1      httpd-2.0/modules/experimental/mod_auth_ldap.c
  
  Index: mod_auth_ldap.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_auth_ldap.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- mod_auth_ldap.c	4 Apr 2003 13:44:41 -0000	1.15
  +++ mod_auth_ldap.c	6 May 2003 01:13:47 -0000	1.16
  @@ -514,7 +514,7 @@
           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) {
               /*