-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct Content-Type within HTML error pages #6869
Labels
Bug
For general bugs on Jetty side
Comments
gregw
added a commit
that referenced
this issue
Sep 20, 2021
Fix #6869 HTML Error page charset passed as request attribute Signed-off-by: Greg Wilkins <gregw@webtide.com>
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
gregw
added a commit
that referenced
this issue
Sep 21, 2021
gregw
added a commit
that referenced
this issue
Sep 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: