Project

General

Profile

Bug #78306 » issue-78306-a.diff

Michael Schams, 2016-10-16 08:19

View differences:

TYPO3.CMS.b/typo3/sysext/extensionmanager/Classes/Utility/Parser/ExtensionXmlPushParser.php 2016-10-14 10:16:46.050703809 +1100
throw new \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException(sprintf('Unable to open file resource %s.', $file), 1342640689);
}
while ($data = fread($fp, 4096)) {
$data = preg_replace('/&#[0-9]*;/', '', $data);
if (!xml_parse($this->objXml, $data, feof($fp))) {
throw new \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException(sprintf('XML error %s in line %u of file resource %s.', xml_error_string(xml_get_error_code($this->objXml)), xml_get_current_line_number($this->objXml), $file), 1342640703);
}
(4-4/5)