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-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41a062345ff8baaf8e6418556383793b638817b8;p=apache 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 ff27728b9f..88ab6077f1 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,