Thorsten,

On 4/16/25 2:35 PM, Thorsten Heit wrote:
long time Tomcat user, but first time I'm posting, so hi to you all :-)

I'm suffering a strange phenomenon after I upgraded Tomcat on one of our virtual machines from 10.1.39 to 10.1.40:

When I open the link to an application being served by Tomcat my browser (Firefox) now downloads a file instead of displaying the (generated) HTML page. With the network inspector I discovered that the content-type in the response is set to "content/unknown;charset=UTF-8". When reverting back to 10.1.39 everything works; the content-type in the response is (as expected) "text/html;charset=UTF-8".

In the changelog I haven't seen anything regarding this.

The configuration files used to start Tomcat are exactly the same in both scenarios, and the application isn't changed.

Can anyone explain what's happening?

Tomcat: 10.1.39 / 40
Java: openjdk-21.0.6
OS: Ubuntu 24.04.2 LTS

That definitely sounds odd. Do you have anything on the network between the client (browser) and the server (Tomcat)? Specifically, anything like a load-balancer, proxy, or similar?

I just want to remove other possible causes before diving into Tomcat (but from your description, Tomcat does seem to be the suspicious component, here).

-chris


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to