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
gregw
changed the title
Jetty 404 has HTTP Content-Type with iso-8859-1 charset, but HTML says utf-8.
Correct Content-Type within HTML error pages
Sep 20, 2021
Jetty version(s)
9.4.43 and 10.0.1
Description
A Jetty-generated 404 response includes header
Content-Type: text/html;charset=iso-8859-1
The returned HTML includes
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
Directory browsing response has utf-8 for both; I haven't checked other generated pages so there may be other mismatches.
How to reproduce?
The text was updated successfully, but these errors were encountered: