summaryrefslogtreecommitdiffstats
path: root/3rdparty
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-05-06 00:12:51 +0200
committerBart Visscher <bartv@thisnet.nl>2012-05-06 00:12:51 +0200
commitf69f764e8bd92d7d8eb10263eefcb6ee0d745d87 (patch)
treee1bdf6fe68ee2cc00da58c5751c2058458006ac2 /3rdparty
parentc996600786080c54ba853ac8311fafdd3e814e78 (diff)
downloadnextcloud-server-f69f764e8bd92d7d8eb10263eefcb6ee0d745d87.tar.gz
nextcloud-server-f69f764e8bd92d7d8eb10263eefcb6ee0d745d87.zip
Working remote.php with webdav and caldav
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/Sabre/DAV/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/Sabre/DAV/Server.php b/3rdparty/Sabre/DAV/Server.php
index 4284c127b6e..50b190e8fab 100644
--- a/3rdparty/Sabre/DAV/Server.php
+++ b/3rdparty/Sabre/DAV/Server.php
@@ -215,7 +215,7 @@ class Sabre_DAV_Server {
$DOM->appendChild($error);
$error->appendChild($DOM->createElement('s:exception',get_class($e)));
- $error->appendChild($DOM->createElement('s:message',$e->getMessage()));
+ $error->appendChild($DOM->createElement('s:message',htmlentities($e->getMessage())));
if ($this->debugExceptions) {
$error->appendChild($DOM->createElement('s:file',$e->getFile()));
$error->appendChild($DOM->createElement('s:line',$e->getLine()));