Patch to fix various issues

Bug #620860 reported by Tim Niemueller on 2010-08-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lua-xmlrpc (Ubuntu)

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.

Tim Niemueller (timn) wrote :
tags: added: patch
Daniel T Chen (crimsun) wrote :

Oneiric's source version contains these fixes, marking as resolved

Changed in lua-xmlrpc (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers