mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-18 21:35:27 -04:00
Fixed: Downloading backups when path contains a trailing slash
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Sonarr.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