File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ https://github.com/zopefoundation/Zope/blob/4.x/CHANGES.rst
10
10
5.11.2 (unreleased)
11
11
-------------------
12
12
13
+ - Fix error messages from spam/pen test requests.
14
+
13
15
- Fix a ``ResourceWarning `` emitted when uploading large files.
14
16
(`#1242 <https://github.com/zopefoundation/Zope/issues/1242 >`_)
15
17
@@ -24,6 +26,7 @@ https://github.com/zopefoundation/Zope/blob/4.x/CHANGES.rst
24
26
25
27
- Update to ``zope.interface = 7.2 ``.
26
28
29
+
27
30
5.11.1 (2024-11-03)
28
31
-------------------
29
32
Original file line number Diff line number Diff line change 24
24
from urllib .parse import parse_qsl
25
25
from urllib .parse import unquote
26
26
from urllib .parse import urlparse
27
+ from xmlrpc .client import ResponseError
27
28
28
29
from AccessControl .tainted import should_be_tainted as base_should_be_tainted
29
30
from AccessControl .tainted import taint_string
@@ -872,7 +873,10 @@ def processInputs(
872
873
if meth is not None :
873
874
raise BadRequest ('method directive not supported for '
874
875
'xmlrpc request' )
875
- meth , self .args = xmlrpc .parse_input (fs .value )
876
+ try :
877
+ meth , self .args = xmlrpc .parse_input (fs .value )
878
+ except ResponseError as e :
879
+ raise BadRequest (e )
876
880
response = xmlrpc .response (response )
877
881
other ['RESPONSE' ] = self .response = response
878
882
self .maybe_webdav_client = 0
You can’t perform that action at this time.
0 commit comments