Ticket #3399 (closed defect: fixed)
twisted.web.xmlrpc._QueryFactory.parseResponse fails to errback for a particular malformed response
| Reported by: | toranin | Owned by: | therve |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | web | Keywords: | |
| Cc: | exarkun | Branch: | branches/xmlrpc-empty-response-3399 |
| Author: | therve | Launchpad Bug: |
Description
(applies to 8.1.0, maybe newer)
If the server returns XML that parses but contains no data, an IndexError is thrown from line 321, in the else part of the try/except block that is supposed to catch problems with the response structure.
I moved the indexing operation in question into the try block in the attached patch.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

