Fixed: Downloading backups when path contains a trailing slash
(cherry picked from commit 31c7647eacb3c3a50e55550880287e00302a9881)
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Lidarr.Http.Frontend.Mappers
|
|||||||
_backupService = backupService;
|
_backupService = backupService;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override string FolderPath => _backupService.GetBackupFolder();
|
protected override string FolderPath => _backupService.GetBackupFolder().TrimEnd(Path.DirectorySeparatorChar);
|
||||||
|
|
||||||
protected override string MapPath(string resourceUrl)
|
protected override string MapPath(string resourceUrl)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user