Skip to content

Commit ce66759

Browse files
committed
Sanitize user input
1 parent cdd3021 commit ce66759

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: 3rdparty/fullcalendar/js/fullcalendar.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4662,7 +4662,7 @@ function DayEventRenderer() {
46624662
"</span>";
46634663
}
46644664
html +=
4665-
"<span class='fc-event-title'>" + event.title + "</span>" +
4665+
"<span class='fc-event-title'>" + htmlEscape(event.title) + "</span>" +
46664666
"</div>";
46674667
if (seg.isEnd && isEventResizable(event)) {
46684668
html +=
@@ -5220,5 +5220,5 @@ function HorizontalPositionCache(getElement) {
52205220
};
52215221

52225222
}
5223-
5223+
52245224
})(jQuery);

0 commit comments

Comments
 (0)