summaryrefslogtreecommitdiffstats
path: root/3rdparty
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-12 13:46:19 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-10-12 14:10:17 +0200
commitce66759a422384d4b7af6ff6b3ed0ed1e243f68c (patch)
treeea1f4921d67bcd7e3a1c8f2f675608696d04f481 /3rdparty
parentcdd30216b11c9ce2dbd2f64928b63c24ff6fe26d (diff)
downloadnextcloud-server-ce66759a422384d4b7af6ff6b3ed0ed1e243f68c.tar.gz
nextcloud-server-ce66759a422384d4b7af6ff6b3ed0ed1e243f68c.zip
Sanitize user input
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/fullcalendar/js/fullcalendar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/fullcalendar/js/fullcalendar.js b/3rdparty/fullcalendar/js/fullcalendar.js
index 314f8c8a1a5..bd5938cd002 100644
--- a/3rdparty/fullcalendar/js/fullcalendar.js
+++ b/3rdparty/fullcalendar/js/fullcalendar.js
@@ -4662,7 +4662,7 @@ function DayEventRenderer() {
"</span>";
}
html +=
- "<span class='fc-event-title'>" + event.title + "</span>" +
+ "<span class='fc-event-title'>" + htmlEscape(event.title) + "</span>" +
"</div>";
if (seg.isEnd && isEventResizable(event)) {
html +=
@@ -5220,5 +5220,5 @@ function HorizontalPositionCache(getElement) {
};
}
-
+
})(jQuery);