Issue 39 in android-xmlrpc: XMLRPCServer doesn't handle requests with empty params

7 views
Skip to first unread message

android...@googlecode.com

unread,
Aug 14, 2012, 9:14:08 AM8/14/12
to android-x...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 39 by f.metz...@gmail.com: XMLRPCServer doesn't handle requests
with empty params
http://code.google.com/p/android-xmlrpc/issues/detail?id=39

The readMethodCall() of the current SVN version of the XMLRPCServer class
can't handle methods, that have no parameters attached. Either the
XMLPullParser's require for Tag.PARAMS or Tag.PARAM will fail, depending on
the client implementation. I tested it with Python's xmlrpclib which then
causes the server to fail at the PARAM tag.

I attached a patch, that works for my case, but only covers the empty but
still present PARAMS tag.


Attachments:
xmlrpcserver.patch 1.8 KB

android...@googlecode.com

unread,
Aug 22, 2012, 4:16:34 AM8/22/12
to android-x...@googlegroups.com
Updates:
Status: Fixed

Comment #1 on issue 39 by psk...@gmail.com: XMLRPCServer doesn't handle
fixed in rev r29

Reply all
Reply to author
Forward
0 new messages