fixup! Fixed: Assume category path from qBittorent starting with '//' is a Windows path

This commit is contained in:
Mark McDowall 2024-07-16 19:18:12 -07:00
parent 40baa4f08c
commit 6ef1801bd3
1 changed files with 1 additions and 0 deletions

View File

@ -381,6 +381,7 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent
if (savePath.StartsWith("//"))
{
_logger.Trace("Replacing slashes in probable Windows UNC path '{0}'. If this is not meant to be a Windows UNC path fix your qBittorrent configuration", savePath);
savePath = savePath.Replace('/', '\\');
}