summaryrefslogtreecommitdiffstats
path: root/settings/ajax
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-06-19 17:24:55 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-06-19 17:24:55 +0200
commit089ae980c40544de54a10d407fd366f61ef5ec48 (patch)
tree30c78db1f04d53c9e595a933459668248aadcb4c /settings/ajax
parentd2936bd90caa2b256d32e7d349449ed58b28107b (diff)
downloadnextcloud-server-089ae980c40544de54a10d407fd366f61ef5ec48.tar.gz
nextcloud-server-089ae980c40544de54a10d407fd366f61ef5ec48.zip
use new sanitize HTML function
Diffstat (limited to 'settings/ajax')
-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)));