mirror of
https://github.com/Lidarr/Lidarr
synced 2026-05-07 12:02:14 +02:00
Fixed: Downloading backups when path contains a trailing slash
(cherry picked from commit 31c7647eacb3c3a50e55550880287e00302a9881)
This commit is contained in:
parent
02988d38a0
commit
1698287efd
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue