[jbossws-issues] [JBoss JIRA] Updated: (JBWS-1451) the comparison of the mime type should not be case sensitive

J?r?me Demange (JIRA) jira-events at jboss.com
Tue Jan 30 08:36:38 EST 2007


     [ http://jira.jboss.com/jira/browse/JBWS-1451?page=all ]

J?r?me Demange updated JBWS-1451:
---------------------------------

    Attachment: JBWS-1451.patch

This is the patch I use (jbossws-1.0.3.SP1)
I just replaced some "equals" with "equalsIgnoreCase".

> the comparison of the mime type should not be case sensitive
> ------------------------------------------------------------
>
>                 Key: JBWS-1451
>                 URL: http://jira.jboss.com/jira/browse/JBWS-1451
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: jbossws-1.0.4
>         Environment: Linux, JBoss 4.0.5GA, x86-64 and i386, jdk 5
>            Reporter: edward winston
>         Attachments: JBWS-1451.patch
>
>
> It appears that the comparison when looking at the Mimetype for a message with attachments is using a case sensitive comparison.  According to the RFCs, the mime type comparison should be case insensitive.  This means that if the correct case is not sent (the mime type in question being Multipart/Related), the request cannot be parsed and you will get a soap fault.

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

        



More information about the jbossws-issues mailing list