mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Escape HTML in CMS status messages
This commit is contained in:
parent
7bb0bbff0e
commit
604ede30a4
@ -963,6 +963,7 @@ jQuery.noConflict();
|
||||
}(jQuery));
|
||||
|
||||
var statusMessage = function(text, type) {
|
||||
text = $('<div/>').text(text).html(); // Escape HTML entities in text
|
||||
jQuery.noticeAdd({text: text, type: type});
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user