[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-6925) [Tester] Body text for PUT operation not being cleared of CRLF prior to invocation

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Thu Aug 26 19:38:11 EDT 2010


     [ https://jira.jboss.org/browse/JBIDE-6925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Fitzpatrick updated JBIDE-6925:
-------------------------------------


Delivered fix to o.j.t.ws.ui in trunk

The old regex simply looked for a bracket >, a new line \n, and a open bracket <. So it would miss anything that had white space after the new line character. 

So to test that it now works, format your input data like this:

<customer id="1">
   <first-name>Jiminy</first-name>
   <last-name>Cricket</last-name>
   <street>256 Red Hat Lane</street>
   <city>Boston</city>
   <state>MA</state>
   <zip>02115</zip>
   <country>USA</country>
</customer>

Where it has a newline and some spaces, then try to do a POST or PUT. It works fine now. 

> [Tester] Body text for PUT operation not being cleared of CRLF prior to invocation
> ----------------------------------------------------------------------------------
>
>                 Key: JBIDE-6925
>                 URL: https://jira.jboss.org/browse/JBIDE-6925
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>    Affects Versions: 3.2.0.M2
>            Reporter: Brian Fitzpatrick
>            Assignee: Brian Fitzpatrick
>             Fix For: 3.2.0.Beta
>
>         Attachments: patch.txt
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> While working on a wiki page documenting the WS Tester (http://community.jboss.org/wiki/UsingtheWebServiceTester) I discovered that when doing a PUT operation for JAX-RS, the body text is not being cleaned of CRLF characters prior to invocation as happens during a POST. Should also check the DELETE operation as well to make sure it's covered.

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

        


More information about the jbosstools-issues mailing list