https://issues.apache.org/bugzilla/show_bug.cgi?id=52811
Bug #: 52811 Summary: HttpServletResponse.setContentType() parses the content type incorrectly Product: Tomcat 6 Version: 6.0.29 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: Servlet & JSP API AssignedTo: dev@tomcat.apache.org ReportedBy: martin.ha...@acision.com Classification: Unclassified When creating the HttpServletResponse the setContentType(type) is used for setting the content type and character encoding. If the type is for example: multipart/related;boundary=1_4F50BD36_CDF8C28;Start="<31671603.smil>";Type="application/smil;charset=UTF-8" it is parsed and the content type is set to: multipart/related;boundary=1_4F50BD36_CDF8C28;Start="<31671603.smil>";Type="application/smil and character encoding to: UTF-8 I believe it is incorrect, the content type should be: multipart/related;boundary=1_4F50BD36_CDF8C28;Start="<31671603.smil>";Type="application/smil;charset=UTF-8" and the character encoding should be set to default (ISO-8859-1). -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org