mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 22:13:06 +03:00
Revert "Use System.Net.IPNetwork"
This reverts commit 117d05d288da1d412159a29c0cb8d5c8259e48ae.
This commit is contained in:
@@ -169,7 +169,7 @@ public class EnvironmentController : BaseJellyfinApiController
|
||||
// Check if unc share
|
||||
var index = path.LastIndexOf(UncSeparator);
|
||||
|
||||
if (index != -1 && path.IndexOf(UncSeparator, StringComparison.OrdinalIgnoreCase) == 0)
|
||||
if (index != -1 && path[0] == UncSeparator)
|
||||
{
|
||||
parent = path.Substring(0, index);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user