mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-05-08 04:30:26 +02:00
Fixed: Downloading backups when path contains a trailing slash
(cherry picked from commit 31c7647eacb3c3a50e55550880287e00302a9881)
This commit is contained in:
parent
353db38dbd
commit
5a953eee78
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