You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by do...@apache.org on 2001/01/09 01:08:14 UTC

cvs commit: httpd-2.0/modules/cache mod_file_cache.c

dougm       01/01/08 16:08:13

  Modified:    modules/cache mod_file_cache.c
  Log:
  use ap_strcmp_match and fix pattern typo
  
  Revision  Changes    Path
  1.36      +4 -1      httpd-2.0/modules/cache/mod_file_cache.c
  
  Index: mod_file_cache.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/cache/mod_file_cache.c,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- mod_file_cache.c	2001/01/08 23:54:47	1.35
  +++ mod_file_cache.c	2001/01/09 00:08:13	1.36
  @@ -422,7 +422,10 @@
       int errstatus;
       int rc = OK;
   
  -    if (strcmp(r->handler, "*.*")) {
  +    /* XXX: not sure if this is right yet
  +     * see comment in http_core.c:default_handler
  +     */
  +    if (ap_strcmp_match(r->handler, "*/*")) {
           return DECLINED;
       }