]> granicus.if.org Git - apache/commitdiff
use ap_strcmp_match and fix pattern typo
authorDoug MacEachern <dougm@apache.org>
Tue, 9 Jan 2001 00:08:13 +0000 (00:08 +0000)
committerDoug MacEachern <dougm@apache.org>
Tue, 9 Jan 2001 00:08:13 +0000 (00:08 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87618 13f79535-47bb-0310-9956-ffa450edef68

modules/cache/mod_file_cache.c

index 2271287748b05c2cfa18c346f419cd121aca01ce..7f409d78959c0c7e303a3f7edd34a8f57df0a3b0 100644 (file)
@@ -422,7 +422,10 @@ static int file_cache_handler(request_rec *r)
     int errstatus;
     int rc = OK;
 
-    if (strcmp(r->handler, "*.*")) {
+    /* XXX: not sure if this is right yet
+     * see comment in http_core.c:default_handler
+     */
+    if (ap_strcmp_match(r->handler, "*/*")) {
         return DECLINED;
     }