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:
- 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"
This should be extended to:
- if no mimeTypes are defined the content-type is not "application/gzip" or "application/x-gzip"
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.
|Field||Original Value||New Value|
|Assignee||Joakim Erdfelt [ joakime ]|
|Assignee||Joakim Erdfelt [ joakime ]||Jan Bartel [ janb ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||7.6.2 [ 18352 ]|
|Fix Version/s||8.1.2 [ 18351 ]|
|Resolution||Fixed [ 1 ]|