From 506c90cde1fff9d3fb4a3c51ec606a632ffc6731 Mon Sep 17 00:00:00 2001 From: Bill Stoddard Date: Sun, 18 May 2003 19:01:47 +0000 Subject: [PATCH] Namespace protect the mod_expires filter git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99910 13f79535-47bb-0310-9956-ffa450edef68 --- modules/metadata/mod_expires.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/metadata/mod_expires.c b/modules/metadata/mod_expires.c index d8423bbd06..64fdb0cf14 100644 --- a/modules/metadata/mod_expires.c +++ b/modules/metadata/mod_expires.c @@ -573,7 +573,7 @@ static int add_expires(request_rec *r) * do make a note of any ExpiresDefault value for its use. */ if (! apr_is_empty_table(conf->expiresbytype)) { - ap_add_output_filter("EXPIRATION", NULL, r, r->connection); + ap_add_output_filter("MOD_EXPIRES", NULL, r, r->connection); rfields = notes->expfields; } else { @@ -603,7 +603,7 @@ static int add_expires(request_rec *r) static void register_hooks(apr_pool_t *p) { - ap_register_output_filter("EXPIRATION", expires_by_type_filter, NULL, + ap_register_output_filter("MOD_EXPIRES", expires_by_type_filter, NULL, AP_FTYPE_CONTENT_SET); ap_hook_fixups(add_expires,NULL,NULL,APR_HOOK_MIDDLE); } -- 2.40.0