You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by br...@apache.org on 2001/12/06 02:20:16 UTC
cvs commit: httpd-2.0/server core.c
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,