aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ServicePath.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-12 21:41:08 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-12 21:41:08 +0100
commit846456b41e87c8ccced544298b80a27d0f199215 (patch)
tree8196146818ecee84bfd5ee99ed1c5aea0402d165 /Emby.Server.Implementations/Services/ServicePath.cs
parente2751d42e8775596b7c4b929fd004d879f980947 (diff)
Reformatted the files with notes.
Diffstat (limited to 'Emby.Server.Implementations/Services/ServicePath.cs')
-rw-r--r--Emby.Server.Implementations/Services/ServicePath.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Services/ServicePath.cs b/Emby.Server.Implementations/Services/ServicePath.cs
index 4c98a3388..0222b3782 100644
--- a/Emby.Server.Implementations/Services/ServicePath.cs
+++ b/Emby.Server.Implementations/Services/ServicePath.cs
@@ -116,7 +116,6 @@ namespace Emby.Server.Implementations.Services
{
if (string.IsNullOrEmpty(component)) continue;
-
if (StringContains(component, VariablePrefix)
&& component.IndexOf(ComponentSeperator) != -1)
{
@@ -352,7 +351,7 @@ namespace Emby.Server.Implementations.Services
if (withPathInfoParts.Length != this.PathComponentsCount && !this.IsWildCardPath)
{
- return false;
+ return false;
}
if (!Verbs.Contains(httpMethod, StringComparer.OrdinalIgnoreCase))