[Pkg-owncloud-commits] [php-sabredav] 19/33: Fixes Issue 27

David Prévot taffit at moszumanska.debian.org
Sat Nov 30 15:43:55 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag version-1.0.10
in repository php-sabredav.

commit 519f683ea46d576d09621f98a7cd67c686b217fc
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Sun Mar 14 15:29:16 2010 +0900

    Fixes Issue 27
---
 ChangeLog                           | 3 +++
 lib/Sabre/DAV/Property/Response.php | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 9018c78..089136f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+1.0.9-stable (2010-??-??)
+	* Fixed: Issue 27: Entities not being encoded in PROPFIND responses. 
+
 1.0.8-stable (2010-03-03)
 	* Fixed: Issue 21: typos causing errors
 	* Fixed: Issue 23: Comma's between methods in Allow header.
diff --git a/lib/Sabre/DAV/Property/Response.php b/lib/Sabre/DAV/Property/Response.php
index b359903..77bdcaf 100644
--- a/lib/Sabre/DAV/Property/Response.php
+++ b/lib/Sabre/DAV/Property/Response.php
@@ -146,7 +146,7 @@ class Sabre_DAV_Property_Response extends Sabre_DAV_Property  {
                 }
 
                 if (is_scalar($propertyValue)) {
-                    $currentProperty->nodeValue = $propertyValue;
+                    $currentProperty->appendChild($document->createTextNode($propertyValue));
                 } elseif ($propertyValue instanceof Sabre_DAV_Property) {
                     $propertyValue->serialize($server,$currentProperty);
                 } elseif (!is_null($propertyValue)) {

-- 
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