[ZCM] [ZC] 1529/ 1 Request "Safari sends XMLRPC requests with trailing NULL in TCP Request"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Tue Oct 12 14:46:19 EDT 2004


Issue #1529 Update (Request) "Safari sends XMLRPC requests with trailing NULL in TCP Request"
 Status Pending, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/1529

==============================================================
= Request - Entry #1 by matt on Oct 12, 2004 2:46 pm


Uploaded:  "xmlrpc.diff"
 - http://collector.zope.org/Zope/1529/xmlrpc.diff/view
Safari sends in XMLRPC requests with a trailing NULL on the request.  This causes xmlrpclib's parse to raise an error (expat likes NULLs not). While this is legitimately a Safari bug, it's fairly straighforward inside xmlrpc.py in ZPublisher to check for, and strip out, a trailing NULL from the body of the XMLRPC request.

The attached one-liner will allow safari to make xmlrpc requests of Zope (at least, using jsolait).
==============================================================



More information about the Zope-Collector-Monitor mailing list