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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user