mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
fix path substitution
This commit is contained in:
@@ -357,11 +357,11 @@ namespace MediaBrowser.Common.Implementations.IO
|
||||
{
|
||||
if (to.IndexOf('/') != -1)
|
||||
{
|
||||
newPath = path.Replace('\\', '/');
|
||||
newPath = newPath.Replace('\\', '/');
|
||||
}
|
||||
else
|
||||
{
|
||||
newPath = path.Replace('/', '\\');
|
||||
newPath = newPath.Replace('/', '\\');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user