diff options
author | Doug MacEachern <dougm@apache.org> | 2001-01-09 00:08:13 +0000 |
---|---|---|
committer | Doug MacEachern <dougm@apache.org> | 2001-01-09 00:08:13 +0000 |
commit | 55e9bcf8e79cd06584aa4775c7b1653c98eaa1a1 (patch) | |
tree | 5c8d4642655f448b7773d1fb96824392354de9a1 /modules/cache | |
parent | 40391fb9f2ccaf8c4f0e65d6de6de67ad5927690 (diff) | |
download | httpd-55e9bcf8e79cd06584aa4775c7b1653c98eaa1a1.tar.gz |
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
Diffstat (limited to 'modules/cache')
-rw-r--r-- | modules/cache/mod_file_cache.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |