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
Jetty version(s)
11.0.9 Java version/vendor(use: java -version)
N/A OS type/version
N/A Description
When DefaultServlet is instantiated, most of the properties of its ResourceService retain their values unless they have been configured by an InitParameter. This means the behaviour can be configured programmatically on the ResourceService. However, this does not hold for the PrecompressedFormats, which are always reset to defaults if no InitParameter is set.
How to reproduce?
Given the following code, the PrecompressedFormats will be ignored:
* #7880 PrecompressedFormats set on ResourceService are used in DefaultServlet unless overridden by an InitParameter.
* #7880 Fix checkstyle violations.
* #7880 Fix NPEs.
Jetty version(s)
11.0.9
Java version/vendor
(use: java -version)
N/A
OS type/version
N/A
Description
When
DefaultServlet
is instantiated, most of the properties of itsResourceService
retain their values unless they have been configured by anInitParameter
. This means the behaviour can be configured programmatically on theResourceService
. However, this does not hold for thePrecompressedFormats
, which are always reset to defaults if noInitParameter
is set.How to reproduce?
Given the following code, the
PrecompressedFormats
will be ignored:The text was updated successfully, but these errors were encountered: