diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-20 15:11:14 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-20 15:11:14 +0200 |
commit | 5a2c93ec2d3383da9f945cd71763a519f1cf462f (patch) | |
tree | c442c847d82eaeb8219424dd6ec095b8152eb1be /apps/calendar/lib | |
parent | 1ecbf459c9f181a23f25c8305a6f6ba3c99e7afe (diff) | |
download | nextcloud-server-5a2c93ec2d3383da9f945cd71763a519f1cf462f.tar.gz nextcloud-server-5a2c93ec2d3383da9f945cd71763a519f1cf462f.zip |
use sanitizeHTML() function
Diffstat (limited to 'apps/calendar/lib')
-rw-r--r-- | apps/calendar/lib/object.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/calendar/lib/object.php b/apps/calendar/lib/object.php index 9e4806227b0..4212bf5a32c 100644 --- a/apps/calendar/lib/object.php +++ b/apps/calendar/lib/object.php @@ -600,8 +600,8 @@ class OC_Calendar_Object{ public static function updateVCalendarFromRequest($request, $vcalendar) { - $title = strip_tags($request["title"]); - $location = strip_tags($request["location"]); + $title = $request["title"]; + $location = $request["location"]; $categories = $request["categories"]; $allday = isset($request["allday"]); $from = $request["from"]; @@ -611,7 +611,7 @@ class OC_Calendar_Object{ $totime = $request['totime']; } $vevent = $vcalendar->VEVENT; - $description = strip_tags($request["description"]); + $description = $request["description"]; $repeat = $request["repeat"]; if($repeat != 'doesnotrepeat'){ $rrule = ''; |