[Web] escape more html data

This commit is contained in:
FreddleSpl0it committed 2022-12-09 16:10:10 +01:00
1 parent ef392ef6ba
commit 6704377402
2 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
$(document).ready(function() {
// mailcow alert box generator
window.mailcow_alert_box = function(message, type) {
msg = $('<span/>').text(message).text();
msg = $('<span/>').text(escapeHtml(message)).text();
if (type == 'danger' || type == 'info') {
auto_hide = 0;
$('#' + localStorage.getItem("add_modal")).modal('show');