[JIRA] Created: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

  • From: "marens (JIRA)" <jira-no-reply@...>
  • To: issues@...
  • Subject: [JIRA] Created: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8
  • Date: Mon, 28 Jan 2013 19:35:53 +0000 (GMT+00:00)
  • Auto-submitted: auto-generated

HttpHeader.quotedCharsetValue isn't reset properly leading to responses with 
content-types like application/octet-stream;charset=UTF-8
--------------------------------------------------------------------------------------------------------------------------------------

                 Key: GRIZZLY-1417
                 URL: http://java.net/jira/browse/GRIZZLY-1417
             Project: grizzly
          Issue Type: Bug
          Components: http
    Affects Versions: 2.2.20
            Reporter: marens


HttpHeader.setContentType(String type) splits of the optional ";charset=XYZ" 
from the type parameter and saves it to quotedCharsetValue. 
HttpHeader.getContentType() then appends the quotedCharsetValue to the 
contentType.

The problem here was that quotedCharsetValue wasn't properly reset for 
repeated invocations of setContentType in the case where later types didn't 
contain charsets. This lead to responses with e.g Content-Type: 
application/octet-stream;charset=UTF-8 or other funny combinations.

This broke our active-sync implementation for ios and windows phones while 
android managed to keep working :D

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


[JIRA] Created: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

marens (JIRA) 01/28/2013

[JIRA] Commented: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

marens (JIRA) 01/28/2013

[JIRA] Assigned: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

Ryan Lubke (JIRA) 01/28/2013

[JIRA] Commented: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

Ryan Lubke (JIRA) 01/28/2013

[JIRA] Commented: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

Ryan Lubke (JIRA) 01/28/2013

[JIRA] Resolved: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

Ryan Lubke (JIRA) 01/29/2013

[JIRA] Commented: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

marens (JIRA) 01/29/2013

[JIRA] Issue Comment Edited: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

marens (JIRA) 01/29/2013

[JIRA] Reopened: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

Ryan Lubke (JIRA) 01/30/2013

[JIRA] Commented: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

marens (JIRA) 01/31/2013

[JIRA] Issue Comment Edited: (GRIZZLY-1417) HttpHeader.quotedCharsetValue isn't reset properly leading to responses with content-types like application/octet-stream;charset=UTF-8

marens (JIRA) 01/31/2013
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150226.965aeb8)
 
 
Close
loading
Please Confirm
Close