On Thu, Dec 27, 2018 at 9:30 PM Mark Thomas <ma...@apache.org> wrote:
> On December 26, 2018 9:49:00 PM UTC, "i...@flyingfischer.ch" < > i...@flyingfischer.ch> wrote: > >Tomcat versions 8.5.37 and 9.0.14 seem to serve CSS files embedded in a > >webapp as > > > >content-type: text/html;charset=UTF-8 > > > >instead of > > > >content-type: text/css;charset=UTF-8 > > > >This causes the browser (FF) not to interpret the CSS. > > > >I suspect the listed change in changelog of 8.5.36: "The default > >Servlet > >should not override a previously set content-type. (remm)" > > Sounds likely. > > Whatever part of the app is setting the incorrect content type (probably a > filter) needs to be fixed. > Yes, I also prefer keeping the new behavior, which was suggested by Christopher. Worst case scenario there should be a new init-param. Rémy