Fixed: Downloading backups when path contains a trailing slash

(cherry picked from commit 31c7647eacb3c3a50e55550880287e00302a9881)
This commit is contained in:
Mark McDowall 2026-03-25 07:38:36 -07:00 committed by retrodadson
parent f48c9f9f88
commit 50d31d0c5e

View file

@ -15,7 +15,7 @@ public BackupFileMapper(IBackupService backupService, IDiskProvider diskProvider
_backupService = backupService;
}
protected override string FolderPath => _backupService.GetBackupFolder();
protected override string FolderPath => _backupService.GetBackupFolder().TrimEnd(Path.DirectorySeparatorChar);
protected override string MapPath(string resourceUrl)
{