We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bed8719 commit 84e57b6Copy full SHA for 84e57b6
minio/parsers.py
@@ -69,7 +69,7 @@ def fromstring(cls, root_name, data):
69
:return: Returns an S3Element.
70
"""
71
try:
72
- return cls(root_name, cElementTree.fromstring(data))
+ return cls(root_name, cElementTree.fromstring(data.strip()))
73
except _ETREE_EXCEPTIONS as error:
74
raise InvalidXMLError(
75
'"{}" XML is not parsable. Message: {}'.format(
0 commit comments