[Pkg-owncloud-commits] [php-sabredav] 01/24: Correctly disabling the external entity loader.
David Prévot
taffit at moszumanska.debian.org
Tue May 20 17:19:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch 1.7
in repository php-sabredav.
commit 22ce796515708f916c080e7c0ac3c71658d69782
Author: Evert Pot <evert at rooftopsolutions.nl>
Date: Thu Feb 27 20:05:49 2014 -0500
Correctly disabling the external entity loader.
---
lib/Sabre/DAV/XMLUtil.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Sabre/DAV/XMLUtil.php b/lib/Sabre/DAV/XMLUtil.php
index e090cc1..c04ab94 100644
--- a/lib/Sabre/DAV/XMLUtil.php
+++ b/lib/Sabre/DAV/XMLUtil.php
@@ -134,7 +134,7 @@ class Sabre_DAV_XMLUtil {
// Restoring old mechanism for error handling
if ($oldErrorSetting===false) libxml_use_internal_errors(false);
- if ($oldEntityLoaderSetting===false) libxml_disable_entity_loader(true);
+ if ($oldEntityLoaderSetting===false) libxml_disable_entity_loader(false);
return $dom;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list