Escape messages of notifications loaded by JavaScript
This commit is contained in:
parent
a493c3469c
commit
11ea7d99d7
|
@ -711,7 +711,7 @@
|
|||
c += ' persist';
|
||||
}
|
||||
var $notice = $(
|
||||
'<li class="' + c + '">' + message + '</li>'
|
||||
'<li class="' + c + '">' + this.icinga.utils.escape(message) + '</li>'
|
||||
).appendTo($('#notifications'));
|
||||
|
||||
this.icinga.ui.fixControls();
|
||||
|
|
Loading…
Reference in New Issue