]> source.dussan.org Git - nextcloud-server.git/commitdiff
Sanitize user input
authorLukas Reschke <lukas@statuscode.ch>
Fri, 12 Oct 2012 11:46:19 +0000 (13:46 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Fri, 12 Oct 2012 12:10:17 +0000 (14:10 +0200)
3rdparty/fullcalendar/js/fullcalendar.js

index 314f8c8a1a5f00fbcc5c1146808c81e777b73a48..bd5938cd002da4368fc5dbd86bbbb46a2f48e01b 100644 (file)
@@ -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) {
        };
        
 }
-\r
+
 })(jQuery);