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

"Collector: Zope Bugs, Features, and Patches ..." <[email protected]> Mon, 14 May 2007 13:58:04 -0400
Newsgroups gmane.comp.web.zope.devel.collector-monitor
Message-ID <[email protected]>
Issue #1529 Update (Wontfix) "Safari sends XMLRPC requests with trailing NULL in TCP Request"
 Status Wontfix, Zope/bug+solution medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/1529

==============================================================
= Wontfix - Entry #4 by ajung on May 14, 2007 1:58 pm

 Status: Pending => Wontfix

Outdated
________________________________________
= Comment - Entry #3 by efge on Nov 26, 2004 1:13 pm

This bug does not appeared to reference on the Apple side (says a friend).

BTW in what circumstances does safari send an XMLRPC request? How can I reproduce that?

________________________________________
= Edit - Entry #2 by efge on Nov 12, 2004 11:56 am

 Changes: submitter email, classification (bug => bug+solution), new comment

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


Uploaded:  "xmlrpc.diff"
 - http://www.zope.org/Collectors/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).
==============================================================