Fixed XSS
parent
17918b3e21
commit
5bb7b5b368
|
@ -90,8 +90,9 @@ jQuery(function($){
|
|||
$('#qid_detail_recipients').html('');
|
||||
if (typeof data.recipients !== 'undefined') {
|
||||
$.each(data.recipients, function(index, value) {
|
||||
var displayStr = value.address + (value.type != 'to' ? (' (' + value.type.toUpperCase() + ')') : '');
|
||||
$('#qid_detail_recipients').append('<span class="mail-address-item")>' + displayStr + '</span>');
|
||||
var elem = $('<span class="mail-address-item"></span>');
|
||||
elem.text(value.address + (value.type != 'to' ? (' (' + value.type.toUpperCase() + ')') : ''));
|
||||
$('#qid_detail_recipients').append(elem);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue