httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/standard mod_log_referer.c
Date Wed, 20 May 1998 04:22:11 GMT
brian       98/05/19 21:22:11

  Modified:    src      CHANGES
               src/modules/standard mod_log_referer.c
  Log:
  PR: 1947
  
  Made RefererIgnore comparison case-insensitive
  
  Revision  Changes    Path
  1.854     +2 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.853
  retrieving revision 1.854
  diff -u -r1.853 -r1.854
  --- CHANGES	1998/05/19 22:48:57	1.853
  +++ CHANGES	1998/05/20 04:22:06	1.854
  @@ -1,5 +1,7 @@
   Changes with Apache 1.3b7
   
  +  *) Made RefererIgnore case-insensitive.
  +
     *) Mod_log_agent, mod_log_referer now use ap_open_piped_log for piped logs.
        [Brian Behlendorf]
   
  
  
  
  1.28      +2 -1      apache-1.3/src/modules/standard/mod_log_referer.c
  
  Index: mod_log_referer.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_log_referer.c,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- mod_log_referer.c	1998/05/19 23:48:36	1.27
  +++ mod_log_referer.c	1998/05/20 04:22:11	1.28
  @@ -104,6 +104,7 @@
                                                  &referer_log_module);
   
       addme = ap_push_array(cls->referer_ignore_list);
  +    ap_str_tolower(arg);
       *addme = arg;
       return NULL;
   }
  @@ -175,7 +176,7 @@
       referer = ap_table_get(orig->headers_in, "Referer");
       if (referer != NULL) {
   
  -
  +        ap_str_tolower(referer);
           /* The following is an upsetting mess of pointers, I'm sorry
              Anyone with the motiviation and/or the time should feel free
              to make this cleaner... */
  
  
  

Mime
View raw message