gui: fix html entities in system report file

since the content of the window is encoded with 'Ext.htmlEncode'
we have to decode it with 'Ext.String.htmlDecode' (Ext.htmlDecode is
a deprecated alias for it) before downloading the file

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2019-08-08 14:28:55 +02:00 committed by Fabian Grünbichler
parent e953f92adf
commit d0cdf92082

View File

@ -60,7 +60,7 @@ Ext.define('PVE.node.Subscription', {
{
text: gettext('Download'),
handler: function() {
var fileContent = reportWindow.getComponent('system-report-view').html;
var fileContent = Ext.String.htmlDecode(reportWindow.getComponent('system-report-view').html);
var fileName = getReportFileName();
// Internet Explorer