Closed rullzer closed 6 years ago
If you do a propfind with:
<?xml version="1.0"?> <a:propfind xmlns:a="DAV:"> <a:prop></a:prop> </a:propfind>
And have this parsed:
use Sabre\DAV\Xml\Service; $content = '<?xml version="1.0"?><a:propfind xmlns:a="DAV:"><a:prop></a:prop></a:propfind>'; $xml = new Service(); $xml->expect('{DAV:}propfind', $content);
Then this results in an infinite loop. This patch breaks out of the loop once the reader fails to read.
@rullzer any progress on this?
It is still dangling somewhere on my todo... But that todo is long
If you do a propfind with:
And have this parsed:
Then this results in an infinite loop. This patch breaks out of the loop once the reader fails to read.