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:48:13 GMT
brianp      2002/11/30 13:48:13

  Modified:    modules/metadata 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
  1.39      +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.39
  diff -u -r1.38 -r1.39
  --- mod_setenvif.c	12 Nov 2002 18:30:00 -0000	1.38
  +++ mod_setenvif.c	30 Nov 2002 21:48:12 -0000	1.39
  @@ -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