]> git.proxmox.com Git - proxmox-backup.git/commit - src/api2/admin/datastore.rs
api/datastore: allow pxar file download of entire archive
authorStefan Reiter <s.reiter@proxmox.com>
Mon, 12 Apr 2021 15:32:52 +0000 (17:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 13 Apr 2021 06:26:41 +0000 (08:26 +0200)
commit0dfce17a43a0db32645e5ab142116d3c5789faa8
tree5659b929bca5b4fe39a9392ab82f7590684ae1dd
parenta38dccf0e800f4e12c663d15aabfa67c615fe596
api/datastore: allow pxar file download of entire archive

Treat filepaths like "/root.pxar.didx" without a trailing slash as
wanting to download the entire archive content instead of erroring. The
zip-creation code already works fine for this scenario.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
src/api2/admin/datastore.rs