-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
I put in a fix to handle large XML, else you get a "Invalid XML content received... huge text node" with the current lxml library. I overrode Class(Five9). I don't think it has consequences except buffer overflow attacks from Five9 (CVE-2008-4226).
class Five9_BigXML(Five9):
def _get_authenticated_client(self, wsdl):
"""Return an authenticated SOAP client.
Returns:
zeep.Client: Authenticated API client.
"""
return zeep.Client(
wsdl % quote(self.username),
transport=zeep.Transport(
session=self._get_authenticated_session(),
),
settings=zeep.Settings(xml_huge_tree=True)
)
Metadata
Metadata
Assignees
Labels
No labels