summaryrefslogtreecommitdiffstats
path: root/apps/calendar/ajax
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2012-06-20 15:11:14 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2012-06-20 15:11:14 +0200
commit5a2c93ec2d3383da9f945cd71763a519f1cf462f (patch)
treec442c847d82eaeb8219424dd6ec095b8152eb1be /apps/calendar/ajax
parent1ecbf459c9f181a23f25c8305a6f6ba3c99e7afe (diff)
downloadnextcloud-server-5a2c93ec2d3383da9f945cd71763a519f1cf462f.tar.gz
nextcloud-server-5a2c93ec2d3383da9f945cd71763a519f1cf462f.zip
use sanitizeHTML() function
Diffstat (limited to 'apps/calendar/ajax')
-rw-r--r--apps/calendar/ajax/events.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/ajax/events.php b/apps/calendar/ajax/events.php
index 39130a6a983..845cea8df82 100644
--- a/apps/calendar/ajax/events.php
+++ b/apps/calendar/ajax/events.php
@@ -31,4 +31,4 @@ $output = array();
foreach($events as $event){
$output = array_merge($output, OC_Calendar_App::generateEventOutput($event, $start, $end));
}
-OCP\JSON::encodedPrint($output);
+OCP\JSON::encodedPrint(OCP\Util::sanitizeHTML($output));