diff options
Diffstat (limited to 'MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs b/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs index 4abe56aca..b9896e9ce 100644 --- a/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs +++ b/MediaBrowser.Server.Implementations/Configuration/ServerConfigurationManager.cs @@ -134,20 +134,6 @@ namespace MediaBrowser.Server.Implementations.Configuration { throw new ArgumentException("Invalid path substitution"); } - - if (!map.From.EndsWith(":\\") && !map.From.EndsWith(":/")) - { - map.From = map.From.TrimEnd('/').TrimEnd('\\'); - } - if (!map.To.EndsWith(":\\") && !map.To.EndsWith(":/")) - { - map.To = map.To.TrimEnd('/').TrimEnd('\\'); - } - - if (string.IsNullOrWhiteSpace(map.From) || string.IsNullOrWhiteSpace(map.To)) - { - throw new ArgumentException("Invalid path substitution"); - } } } |
