[Laszlo-dev] For Review: Change 20081205-hqm-G Summary: fix data type encoding in swf9 XMLRPC

Henry Minsky henry.minsky at gmail.com
Fri Dec 5 08:30:42 PST 2008


[I'm going to commit this now, so Ghost gets it by the weekend]

Change 20081205-hqm-G by hqm at badtzmaru.home on 2008-12-05 11:25:42 EST
     in /Users/hqm/openlaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix data type encoding in swf9 XMLRPC

New Features:

Bugs Fixed: LPP-7430

Technical Reviewer: promanik
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

+ code in xmlrpc.js was incorrectly encoding the params when it  
creates an XMLRPC
request message.

Since I added the XML RPC message encoding library, the params passed  
in should
not be being XML-escaped first. The XMLRPCMessage class takes care of  
escaping any
string args that need it.

Tests:

run ghost.sh to make the ghost XML RPC test case service
run ghost.lzx in swf9, get no error, see test string echoed back


Files:
M      lps/components/rpc/library/xmlrpc.js
A      test/rpc/xmlrpc/ghost.lzx
A      test/rpc/xmlrpc/ghost.sh
A      WEB-INF/lps/server/src/org/openlaszlo/test/xmlrpc/Ghost.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081205-hqm-G.tar


More information about the Laszlo-dev mailing list