]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Namespace protect the mod_expires filter
authorBill Stoddard <stoddard@apache.org>
Sun, 18 May 2003 19:01:47 +0000 (19:01 +0000)
committerBill Stoddard <stoddard@apache.org>
Sun, 18 May 2003 19:01:47 +0000 (19:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99910 13f79535-47bb-0310-9956-ffa450edef68

modules/metadata/mod_expires.c

index d8423bbd06c65c27ae24a485458850ad4df74f16..64fdb0cf142861768a92ca686b0cb24d11f14c4f 100644 (file)
@@ -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);
 }