Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 61190 invoked by uid 500); 6 Dec 2001 01:39:08 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 61179 invoked by uid 500); 6 Dec 2001 01:39:08 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 6 Dec 2001 01:20:16 -0000 Message-ID: <20011206012016.61484.qmail@icarus.apache.org> From: brianp@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/server core.c X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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,