You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem only appears when the gzip module is enabled.
The problem disappeared after I unzipped $JETTY_HOME/lib/jetty-http-12.0.14.jar, updated org/eclipse/jetty/http/mime.properties to replace tgz=application/x-gtar with tgz=application/gzip, re-packed the JAR, and relaunched Jetty.
The text was updated successfully, but these errors were encountered:
Jetty version(s)
12.0.14
Jetty Environment
EE 9
EE 10
Java version/vendor
OS type/version
Ubuntu 22.04.5 LTS x86_64
Context
See JENKINS-73942.
Steps to reproduce
Observe the files are identical:
Start the server:
$ $JETTY_HOME/bin/jetty.sh start
Visit http://127.0.0.1:8080/static/ in Firefox and download both files.
Expected results
The files should be identical.
Actual results
The files are not identical, as the
.tgz
file is (erroneously!) double-gzipped. The.tar.gz
file is correct.Note
The problem only appears when the
gzip
module is enabled.The problem disappeared after I unzipped
$JETTY_HOME/lib/jetty-http-12.0.14.jar
, updatedorg/eclipse/jetty/http/mime.properties
to replacetgz=application/x-gtar
withtgz=application/gzip
, re-packed the JAR, and relaunched Jetty.The text was updated successfully, but these errors were encountered: