From 767bfd948e9018c3b421f35fd9588b868c3b4678 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Tue, 28 Aug 2001 15:15:21 +0000 Subject: [PATCH] Version 1.338 of mod_mime also tightened the mod_negotiation behavior. See changes for a complete description. Because (in the example) the .Z extension doesn't affect negotiated behavior, the files index.html and index.Z.html couldn't be distinguished, and the user would get an error 406 NOT ACCEPTABLE, which is the _wrong_ answer. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90757 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGES b/CHANGES index 1fd88c638b..f33e7a1f23 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,15 @@ Changes with Apache 2.0.25-dev + *) Modfied mod_mime to prevent mod_negotation from serving a multiview + of a 'handler' or 'filter', so that any filename extension that does + not contribute to the negotiated metadata can't be served without + an explicit request. E.g., if the .Z extension is associated with + an unzip filter, the user request somefile.Z.html, mod_negotiation + won't serve it. It can serve somefile.Z.html when somefile.Z is + requested, since the .Z extension is explictly requested, if the + .html extension is associated with ContentType text/html. + [William Rowe] + *) Introduce the AddInputFilter filter[;filter...] ext [ext...] and corresponding AddOutputFilter syntax, to insert one or more filters by mod_mime filename extension processing. -- 2.50.1