Skip to content

Commit b08c8d4

Browse files
authored
Merge pull request #620 from CommonGateway/fix/parsehuge
Fix parse huge errors
2 parents 5c50984 + ce10656 commit b08c8d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Service/EndpointService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ public function decodeBody(): ?array
337337
case 'text/xml':
338338
case 'application/xml':
339339
case 'xml':
340-
$xmlEncoder = new XmlEncoder();
340+
$xmlEncoder = new XmlEncoder(['load_options' => LIBXML_PARSEHUGE]);
341341

342342
return $xmlEncoder->decode($this->request->getContent(), 'xml');
343343
default:

0 commit comments

Comments
 (0)