mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 07:14:35 +02:00
Escape messages of notifications loaded by JavaScript
This commit is contained in:
parent
a493c3469c
commit
11ea7d99d7
@ -711,7 +711,7 @@
|
|||||||
c += ' persist';
|
c += ' persist';
|
||||||
}
|
}
|
||||||
var $notice = $(
|
var $notice = $(
|
||||||
'<li class="' + c + '">' + message + '</li>'
|
'<li class="' + c + '">' + this.icinga.utils.escape(message) + '</li>'
|
||||||
).appendTo($('#notifications'));
|
).appendTo($('#notifications'));
|
||||||
|
|
||||||
this.icinga.ui.fixControls();
|
this.icinga.ui.fixControls();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user