Skip to content

Commit

Permalink
[Web] Escape To field in Rspamd history log
Browse files Browse the repository at this point in the history
  • Loading branch information
andryyy committed Oct 18, 2020
1 parent 41d85db commit 5ead886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/web/js/site/debug.js
Expand Up @@ -514,10 +514,10 @@ jQuery(function($){
if (table == 'rspamd_history') {
$.each(data, function (i, item) {
if (item.rcpt_mime != "") {
item.rcpt = item.rcpt_mime.join(", ");
item.rcpt = escapeHtml(item.rcpt_mime.join(", "));
}
else {
item.rcpt = item.rcpt_smtp.join(", ");
item.rcpt = escapeHtml(item.rcpt_smtp.join(", "));
}
item.symbols = Object.keys(item.symbols).sort(function (a, b) {
if (item.symbols[a].score === 0) return 1
Expand Down

0 comments on commit 5ead886

Please sign in to comment.