diff --git a/data/web/js/mailbox.js b/data/web/js/mailbox.js index cca7331b..1ff4066d 100644 --- a/data/web/js/mailbox.js +++ b/data/web/js/mailbox.js @@ -250,6 +250,7 @@ jQuery(function($){ $.each(data, function (i, item) { item.quota = item.quota_used + "/" + item.quota; item.max_quota_for_mbox = humanFileSize(item.max_quota_for_mbox); + item.username = escapeHtml(item.username); item.chkbox = ''; if (role == "admin") { item.action = '
' + @@ -359,6 +360,8 @@ jQuery(function($){ ' ' + lang.remove + '' + '
'; item.chkbox = ''; + item.local_dest = escapeHtml(item.local_dest); + item.bcc_dest = escapeHtml(item.bcc_dest); if (item.type == 'sender') { item.type = 'Sender'; } else { @@ -404,6 +407,8 @@ jQuery(function($){ success: function (data) { if (role == "admin") { $.each(data, function (i, item) { + item.recipient_map_old = escapeHtml(item.recipient_map_old); + item.recipient_map_new = escapeHtml(item.recipient_map_new); item.action = '
' + ' ' + lang.edit + '' + ' ' + lang.remove + '' + @@ -454,6 +459,8 @@ jQuery(function($){ ' ' + lang.remove + '' + '
'; item.chkbox = ''; + item.goto = escapeHtml(item.goto); + item.address = escapeHtml(item.address); if (item.is_catch_all == 1) { item.address = '
Catch-All
' + item.address; } @@ -554,6 +561,7 @@ jQuery(function($){ success: function (data) { $.each(data, function (i, item) { item.log = 'Open logs' + item.user2 = escapeHtml(item.user2); if (!item.exclude > 0) { item.exclude = '-'; } else {