From: Doug MacEachern Date: Tue, 9 Jan 2001 00:08:13 +0000 (+0000) Subject: use ap_strcmp_match and fix pattern typo X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~253 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55e9bcf8e79cd06584aa4775c7b1653c98eaa1a1;p=apache use ap_strcmp_match and fix pattern typo git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87618 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/cache/mod_file_cache.c b/modules/cache/mod_file_cache.c index 2271287748..7f409d7895 100644 --- a/modules/cache/mod_file_cache.c +++ b/modules/cache/mod_file_cache.c @@ -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; }