https://bz.apache.org/bugzilla/show_bug.cgi?id=62971
Bug ID: 62971
Summary: Revert the fix for 49464 in tomcat 9
Product: Tomcat 9
Version: 9.0.13
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: -----
I encountered weird issue and I found this
http://tomcat.10.x6.nabble.com/Tomcat-8-5-19-corrupts-static-text-files-encoded-with-UTF-8-td5065877.html
Tomcat introduce such regress in 8.5.19 and reverted it soon in 8.5.20, but
this still exists in tomcat 9.0, and not documented in migration guide
https://tomcat.apache.org/migration-9.html
I think it's bad to assume file encoding as Charset.defaultCharset(),
especially on windows, normally system is not utf-8 encoding, and files like js
are utf-8, if non-ascii characters included, it parse failed by browser.
The change resolved some edge cases but bring a big regression issue, if you
insist on it, please update the migration guide.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]