]> granicus.if.org Git - apache/commitdiff
Replaced ap_strcmp_match call that checked for a '/' in the
authorBrian Pane <brianp@apache.org>
Thu, 6 Dec 2001 01:20:16 +0000 (01:20 +0000)
committerBrian Pane <brianp@apache.org>
Thu, 6 Dec 2001 01:20:16 +0000 (01:20 +0000)
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

server/core.c

index ff27728b9f742e9f6445472ad195b451fc62c647..88ab6077f1f800dc6085b46478fbeedc1ef0f1d0 100644 (file)
@@ -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,