--- a/web/lib/Zend/Service/Ebay/Finding.php Thu May 07 15:10:09 2015 +0200
+++ b/web/lib/Zend/Service/Ebay/Finding.php Thu May 07 15:16:02 2015 +0200
@@ -15,7 +15,7 @@
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Finding.php 22824 2010-08-09 18:59:54Z renanbr $
*/
@@ -25,11 +25,14 @@
*/
require_once 'Zend/Service/Ebay/Abstract.php';
+/** @see Zend_Xml_Security */
+require_once 'Zend/Xml/Security.php';
+
/**
* @category Zend
* @package Zend_Service
* @subpackage Ebay
- * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @uses Zend_Service_Ebay_Abstract
*/
@@ -367,7 +370,7 @@
// first trying, loading XML
$dom = new DOMDocument();
- if (!@$dom->loadXML($response->getBody())) {
+ if (!$dom = @Zend_Xml_Security::scan($response->getBody(), $dom)) {
$message = 'It was not possible to load XML returned.';
}