[pbs-devel] [PATCH proxmox-backup v1 2/2] fix #4001: ui: add prefix to files downloaded through the pxar browser

Stefan Sterz s.sterz at proxmox.com
Thu May 5 15:52:52 CEST 2022


Signed-off-by: Stefan Sterz <s.sterz at proxmox.com>
---
this requires patch three from the widget toolkit portion of this
series. otherwise this won't have any effect.

 www/datastore/Content.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/datastore/Content.js b/www/datastore/Content.js
index 1be63e0c..0113b704 100644
--- a/www/datastore/Content.js
+++ b/www/datastore/Content.js
@@ -619,6 +619,7 @@ Ext.define('PBS.DataStoreContent', {
 		listURL: `/api2/json/admin/datastore/${view.datastore}/catalog`,
 		downloadURL: `/api2/json/admin/datastore/${view.datastore}/pxar-file-download`,
 		enableTar: true,
+		downloadPrefix: `${type}-${id}-`,
 		extraParams: {
 		    'backup-id': id,
 		    'backup-time': (time.getTime()/1000).toFixed(0),
-- 
2.30.2






More information about the pbs-devel mailing list