diff --git a/ln.http/ln.http.csproj b/ln.http/ln.http.csproj index ecb1285..07ef25e 100644 --- a/ln.http/ln.http.csproj +++ b/ln.http/ln.http.csproj @@ -3,7 +3,7 @@ netcoreapp3.1 true - 0.4.1 + 0.4.2 Harald Wolff-Thobaben l--n.de diff --git a/ln.http/router/HttpRoutingContext.cs b/ln.http/router/HttpRoutingContext.cs index 3250104..31a26fe 100644 --- a/ln.http/router/HttpRoutingContext.cs +++ b/ln.http/router/HttpRoutingContext.cs @@ -39,7 +39,7 @@ namespace ln.http.router int indSlash = next.IndexOf('/',1); if (indSlash > 0) - next = next.Substring(0, indSlash-1); + next = next.Substring(0, indSlash); nextRoutingContext = Routed(Path.Substring(next.Length));