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/server core.c
Date Thu, 06 Dec 2001 01:20:16 GMT
brianp      01/12/05 17:20:16

  Modified:    server   core.c
  Log:
  Replaced ap_strcmp_match call that checked for a '/' in the
  handler name with the equivalent (but less heavyweight)
  strchr call
  
  Revision  Changes    Path
  1.112     +1 -1      httpd-2.0/server/core.c
  
  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- core.c	2001/11/27 08:39:02	1.111
  +++ core.c	2001/12/06 01:20:16	1.112
  @@ -2695,7 +2695,7 @@
        * intent, but may cause problems at first - Ben 7th Jan 01
        */
       if(strcmp(r->handler,"default-handler")
  -       && ap_strcmp_match(r->handler,"*/*"))
  +       && !strchr(r->handler, '/'))
   	return DECLINED;
   
       d = (core_dir_config *)ap_get_module_config(r->per_dir_config,
  
  
  

Mime
View raw message