Patch to fix various issues

Bug #620860 reported by Tim Niemueller
8
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: patch
Revision history for this message
Tim Niemueller (timn) wrote :
tags: added: patch
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.