[jetty-dev] [jira] (JETTY-1409) GzipFilter will double-compress application/x-gzip content
"Nick Pellow (JIRA)" <[email protected]>
| Newsgroups | gmane.comp.java.jetty.general |
|---|---|
| Message-ID | <1558736807.46770.1330919043099.JavaMail.j2ee-jira@codehaus01.managed.contegix.com> |
[ https://jira.codehaus.org/browse/JETTY-1409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=293368#comment-293368 ]
Nick Pellow commented on JETTY-1409:
------------------------------------
Hi Jan,
That is excellent! Thanks a lot for the fix.
I hope we can upgrade the version of Jetty used in FishEye/Crucible soon.
Best Regards,
Nick Pellow.
> GzipFilter will double-compress application/x-gzip content
> ----------------------------------------------------------
>
> Key: JETTY-1409
> URL: https://jira.codehaus.org/browse/JETTY-1409
> Project: Jetty
> Issue Type: Bug
> Affects Versions: 6.1.26
> Reporter: Nick Pellow
> Assignee: Jan Bartel
>
> The GzipFilter only excludes zipping mime-types of application/gzip.
> If a file is of type application/x-gzip it gets double-zipped, and needs to be uncompressed twice on the client.
> The following is from the Javadoc on GzipFilter:
> {quote}
> * The content-type is in the comma separated list of mimeTypes set in the <code>mimeTypes</code> initParameter or
> * if no mimeTypes are defined the content-type is not "application/gzip"
>
> {quote}
> This should be extended to:
> {quote}
> * if no mimeTypes are defined the content-type is not "application/gzip" or *"application/x-gzip"*
> {quote}
> application/x-gzip is the official mime-type for compressed files.
> And this is also what most clients will use when sending files to the server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email