[jboss-jira] [JBoss JIRA] (JBAS-9529) CXF not correctly escaping >

Kelly Attaway (JIRA) jira-events at lists.jboss.org
Thu Feb 7 10:45:51 EST 2013


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

Kelly Attaway commented on JBAS-9529:
-------------------------------------

Well, I see that the comments here also take the liberty of converting our escaped characters, which makes my previous explanation a little hard to understand. Let me try again.

In our response, we are seeing the character sequence "& gt ;" become a greater than sign, "& quot ;" become a double quote symbol, and "& apos ;" become an apostropher. "& lt ;" and "& amp ;" remain in their escaped formats. Please disregard the spaces in those escape sequences, they are only here to keep them from being converted in the comment.
                
> CXF not correctly escaping >
> -------------------------------
>
>                 Key: JBAS-9529
>                 URL: https://issues.jboss.org/browse/JBAS-9529
>             Project: Application Server 3  4  5 and 6
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web Services
>    Affects Versions: 6.1.0
>         Environment: RHEL 5
>            Reporter: Eric Schley
>            Assignee: Alessio Soldano
>
> We have a string containing > (literally > not >) and we are trying to return it in a response but it is getting converted into >.  I would have thought if any escaping occurred it would have possibly converted it to > and then back to >
> We were using encoding of UTF-8.  We did notice that if we were using ISO-8859-1 this would occur so we aren't sure if somewhere within its processing it may be defaulting to ISO-8859-1 and then passing it back up.
> using apache CXF 2.5.1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list