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 5392ee0bf0
commit fd6f97640c
@@ -15,7 +15,7 @@ namespace Lidarr.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)
{