Details
Description
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.
Activity
Joakim Erdfelt
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Joakim Erdfelt [ joakime ] |
Jan Bartel
made changes -
| Assignee | Joakim Erdfelt [ joakime ] | Jan Bartel [ janb ] |
Jan Bartel
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Fix Version/s | 7.6.2 [ 18352 ] | |
| Fix Version/s | 8.1.2 [ 18351 ] | |
| Resolution | Fixed [ 1 ] |