From: Brian Pane Date: Thu, 6 Dec 2001 01:20:16 +0000 (+0000) Subject: Replaced ap_strcmp_match call that checked for a '/' in the X-Git-Tag: 2.0.30~275 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a14848d12853a44fdc69b3876fb2fe17e3cbba15;p=thirdparty%2Fapache%2Fhttpd.git Replaced ap_strcmp_match call that checked for a '/' in the handler name with the equivalent (but less heavyweight) strchr call git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92352 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/core.c b/server/core.c index ff27728b9f7..88ab6077f1f 100644 --- a/server/core.c +++ b/server/core.c @@ -2695,7 +2695,7 @@ static int default_handler(request_rec *r) * 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,