Browse Source

Added escaping for error message in sending profile hostname

pull/1938/head
Jordan Wright 1 year ago
parent
commit
90fed5a575
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      static/js/dist/app/sending_profiles.min.js
  2. +1
    -1
      static/js/src/app/sending_profiles.js

+ 1
- 1
static/js/dist/app/sending_profiles.min.js
File diff suppressed because it is too large
View File


+ 1
- 1
static/js/src/app/sending_profiles.js View File

@ -36,7 +36,7 @@ function sendTestEmail() {
})
.error(function (data) {
$("#sendTestEmailModal\\.flashes").empty().append("<div style=\"text-align:center\" class=\"alert alert-danger\">\
<i class=\"fa fa-exclamation-circle\"></i> " + data.responseJSON.message + "</div>")
<i class=\"fa fa-exclamation-circle\"></i> " + escapeHtml(data.responseJSON.message) + "</div>")
$("#sendTestModalSubmit").html(btnHtml)
})
}

Loading…
Cancel
Save