Fix potential XSS in search

This commit is contained in:
JonnyWong16 2018-05-02 10:26:05 -07:00
commit 4fb4410552
3 changed files with 7 additions and 5 deletions

View file

@ -188,7 +188,7 @@ DOCUMENTATION :: END
},
complete: function (xhr, status) {
$('#search-results-list').html(xhr.responseText);
$('#update_query_title').html(query_string)
$('#update_query_title').text(query_string)
}
});
}