https://bz.apache.org/bugzilla/show_bug.cgi?id=62912
Bug ID: 62912 Summary: Tomcat adds a space character in the Content-Type header if this one has a ; character right after Product: Tomcat 8 Version: 8.5.x-trunk Hardware: PC Status: NEW Severity: critical Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: francois.courta...@gemalto.com Target Milestone: ---- Hello, I have written a servlet answering to an HTTP GET which set a response Content-Type having a value with a semi-column (eg ;). The Content-Type looks like: application/xxx.yyy-data;version=1.0 In the servlet code I have response.setContentType("application/xxx.yyy-data;version=1.0"); Tried on both 8.5.35 and 9.0.13, in both environments, the real Content-Type sent back by the server is: application/xxx.yyy-data; version=1.0 So Tomcat adds a space character right after the semi-column. I think it's a bug. Could you please provide a fix to prevent Tomcat to add a space character after the semi-column ? Best Regards. -- 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