mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-11-10 03:10 am

[dw-free] XML-RPC doesn't work correctly in LJ - please fix it in Dreamwidth!

[commit: http://hg.dwscoalition.org/dw-free/rev/82a4778c9ca3]

http://bugs.dwscoalition.org/show_bug.cgi?id=157

Force some types to be strings in the XML-RPC outputs.

Patch by [personal profile] afuna.

Files modified:
  • cgi-bin/Apache/LiveJournal.pm
--------------------------------------------------------------------------------
diff -r 9e56f58fbc0e -r 82a4778c9ca3 cgi-bin/Apache/LiveJournal.pm
--- a/cgi-bin/Apache/LiveJournal.pm	Tue Nov 10 03:07:27 2009 +0000
+++ b/cgi-bin/Apache/LiveJournal.pm	Tue Nov 10 03:10:06 2009 +0000
@@ -1807,6 +1807,11 @@ sub xmlrpc_method {
     # Key - field name, value - type.
     my %lj_types_map = (
         journalname => 'string',
+        fullname => 'string',
+        username => 'string',
+        poster => 'string',
+        postername => 'string',
+        name => 'string',
     );
 
     my $recursive_mark_elements;
--------------------------------------------------------------------------------