Patch to fix various issues
Bug #620860 reported by
Tim Niemueller
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lua-xmlrpc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The attached patch fixes a number of issues in XML-RPC:
- consider "1" as true for booleans, some implementations send that
- if for a string a table entry is nil return the empty string. It
simply would skip these fields, causing arrays not to have the
intended indexes
- for unknown value types, e.g. arrays without type tags, return the
empty string for unset values instead of nil, again array indexes get
messed up otherwise
- Fixed array parsing for arrays with undefined or different value
types for entries.
The patch has been sent upstream but the crew is not very responsive. I would like to see the patch in the Ubuntu package until a new version is released upstream.
tags: | added: patch |
To post a comment you must log in.
Oneiric's source version contains these fixes, marking as resolved