1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-29 18:15:37 -04:00

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 Auggie
parent 8ae71b54a7
commit 4b85fab05b

View File

@@ -15,7 +15,7 @@ namespace Radarr.Http.Frontend.Mappers
_backupService = backupService;
}
protected override string FolderPath => _backupService.GetBackupFolder();
protected override string FolderPath => _backupService.GetBackupFolder().TrimEnd(Path.DirectorySeparatorChar);
protected override string MapPath(string resourceUrl)
{