mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 06:14:25 +02:00
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…
x
Reference in New Issue
Block a user