Alexey Klimenko created AXIS2-5492:
--------------------------------------

             Summary: Infinite loop in JSONOMBuilder if URL parameter is not 
valid JSON 
                 Key: AXIS2-5492
                 URL: https://issues.apache.org/jira/browse/AXIS2-5492
             Project: Axis2
          Issue Type: Bug
          Components: json
    Affects Versions: 1.6.1
         Environment: Mac OS Mountain Lion, JRE 1.6
            Reporter: Alexey Klimenko
            Priority: Minor


When making a REST call with Content-Type="application.json". the builder 
expects to have request body for GET requests (which is limiting on its own).
If parameters in URL are specified not in JSON format {'x':'y'} but as query 
parameters like ?x=y (which is expected for most REST services with URL 
templates) a loop at line 119  becomes infinite as condition is:  while (temp 
!= ':') 
At least add condition to check end of reader.

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to