mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
cloudstack 3.0 UI - XSS - listView - fix it to show correct value.
This commit is contained in:
parent
afbf97465a
commit
7f14bb70c5
@ -771,10 +771,10 @@
|
||||
|
||||
if (field.editable) createEditField($td).appendTo($td);
|
||||
else {
|
||||
var origValue = $td.html();
|
||||
var sanitizedValue = $td.html();
|
||||
$td.html('');
|
||||
$td.append(
|
||||
$('<span></span>').html(_s(origValue))
|
||||
$('<span></span>').html(sanitizedValue)
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user