summaryrefslogtreecommitdiffstats
path: root/settings/ajax/getlog.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-06-19 17:24:55 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-06-20 16:59:51 +0200
commit902c649dad7a0bd1f5f2d0ec87953f0f059a67d8 (patch)
treec921524cd92be48789387552ced4688b39550c5d /settings/ajax/getlog.php
parentd9607df26f63a60b7047d078876e004689190707 (diff)
downloadnextcloud-server-902c649dad7a0bd1f5f2d0ec87953f0f059a67d8.tar.gz
nextcloud-server-902c649dad7a0bd1f5f2d0ec87953f0f059a67d8.zip
use new sanitize HTML function backported
Conflicts: lib/template.php
Diffstat (limited to 'settings/ajax/getlog.php')
-rw-r--r--settings/ajax/getlog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/ajax/getlog.php b/settings/ajax/getlog.php
index ed48b2cae1a..d9e80de37ba 100644
--- a/settings/ajax/getlog.php
+++ b/settings/ajax/getlog.php
@@ -14,4 +14,4 @@ $count=(isset($_GET['count']))?$_GET['count']:50;
$offset=(isset($_GET['offset']))?$_GET['offset']:0;
$entries=OC_Log_Owncloud::getEntries($count,$offset);
-OC_JSON::success(array("data" => $entries));
+OC_JSON::success(array("data" => OC_Util::sanitizeHTML($entries)));