[jboss-remoting-issues] [JBoss JIRA] (JBREM-1301) WebUtil.isBinary fails when charSet appended

Ron Sigal (Commented) (JIRA) jira-events at lists.jboss.org
Tue Nov 22 12:59:40 EST 2011


    [ https://issues.jboss.org/browse/JBREM-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12644849#comment-12644849 ] 

Ron Sigal commented on JBREM-1301:
----------------------------------

WebUtil.isBinary() now checks prefix of content-type.

Change applied to 2.2 and 2.x branches.

Unit test: org.jboss.test.remoting.transport.http.marshal.ContentTypePrefixTestCase.

Will wait for results in jenkins.
                
> WebUtil.isBinary fails when charSet appended
> --------------------------------------------
>
>                 Key: JBREM-1301
>                 URL: https://issues.jboss.org/browse/JBREM-1301
>             Project: JBoss Remoting
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jmx remoting, marshall
>    Affects Versions: 2.2.4, 2.5.4.SP3
>            Reporter: Tom Cunningham
>            Assignee: Ron Sigal
>             Fix For: 2.2.4.SP1, 2.5.4.SP4
>
>
> WebUtil.isBinary fails when the contentType equals 
> application/octet-stream?charSet=UTF-8
> It only accepts "application/octet-stream" as valid.   On 1.6.0_21, I'm receiving "application/octet-stream?charSet=UTF-8" as my ContentType from HttpUrlConnection.getHeaderFields() within HttpClientInvoker, which overwrites any ContentType I try to send in a map.     Because of this, my responses are InvocationResponses, but they are treated as a string and not unmarshalled.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-remoting-issues mailing list