Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324379

Summary: response.setContentType after response.getPrintWriter loses a semicolon
Product: [RT] Jetty Reporter: David Jencks <david.a.jencks>
Component: serverAssignee: Greg Wilkins <gregw>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 8.0.0   
Target Milestone: 7.1.x   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description David Jencks CLA 2010-09-03 03:00:07 EDT
response.setContentType("text/abcdef;charset=ISO-12345"); //works
response.setContentType("text/ghi;charse=ISO-678");       // works, entire header replaced

response.getPrintWriter();
response.setContentType("text/lmnop;charset=UTF-32"); // doesn't work, the result is

text/lmnopcharset=ISO-678 

(the semicolon is lost)
Comment 1 Greg Wilkins CLA 2010-09-03 03:29:24 EDT
r2246