Commit 08b3a5ec authored by Sidnei da Silva's avatar Sidnei da Silva

      - ZPublisher would fail to recognize a XML-RPC request if the
        content-type header included a 'charset' parameter.
parent 0fb0bdbf
......@@ -58,6 +58,9 @@ Zope Changes
Bugs fixed
- ZPublisher would fail to recognize a XML-RPC request if the
content-type header included a 'charset' parameter.
- Forward-ported 'aq_acquire'-related fix and associated tests
from Zope 2.7.4.
......
......@@ -384,7 +384,7 @@ class HTTPRequest(BaseRequest):
if not hasattr(fs,'list') or fs.list is None:
# Hm, maybe it's an XML-RPC
if (fs.headers.has_key('content-type') and
fs.headers['content-type'] == 'text/xml' and
'text/xml' in fs.headers['content-type'] and
method == 'POST'):
# Ye haaa, XML-RPC!
global xmlrpc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment