httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: httpd-2.0/modules/metadata mod_setenvif.c
Date Sat, 30 Nov 2002 21:45:32 GMT
brianp      2002/11/30 13:45:32

  Modified:    .        Tag: APACHE_2_0_BRANCH CHANGES
               modules/metadata Tag: APACHE_2_0_BRANCH mod_setenvif.c
  Log:
  Fix for BrowserMatchNoCase, which was incorrectly treating non-regex
  patterns as case-sensitive
  Submitted by:	André Malo
  Reviewed by:	Brian Pane
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.988.2.6 +3 -0      httpd-2.0/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/CHANGES,v
  retrieving revision 1.988.2.5
  retrieving revision 1.988.2.6
  diff -u -r1.988.2.5 -r1.988.2.6
  --- CHANGES	30 Nov 2002 20:12:50 -0000	1.988.2.5
  +++ CHANGES	30 Nov 2002 21:45:31 -0000	1.988.2.6
  @@ -1,5 +1,8 @@
   Changes with Apache 2.0.44
   
  +  *) mod_setenvif: Fix BrowserMatchNoCase support for non-regex
  +     patterns [André Malo <nd@perlig.de>]
  +
     *) Add version string to provider API.  [Justin Erenkrantz]
    
     *) build: './configure && make' now works without an in-tree
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.38.2.1  +1 -1      httpd-2.0/modules/metadata/mod_setenvif.c
  
  Index: mod_setenvif.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/metadata/mod_setenvif.c,v
  retrieving revision 1.38
  retrieving revision 1.38.2.1
  diff -u -r1.38 -r1.38.2.1
  --- mod_setenvif.c	12 Nov 2002 18:30:00 -0000	1.38
  +++ mod_setenvif.c	30 Nov 2002 21:45:32 -0000	1.38.2.1
  @@ -342,7 +342,7 @@
           new->icase = icase;
           if ((simple_pattern = non_regex_pattern(cmd->pool, regex))) {
               new->pattern = apr_strmatch_precompile(cmd->pool,
  -                                                   simple_pattern, 1);
  +                                                   simple_pattern, !icase);
               if (new->pattern == NULL) {
                   return apr_pstrcat(cmd->pool, cmd->cmd->name,
                                      " pattern could not be compiled.", NULL);
  
  
  

Mime
View raw message