From 4c0caac0736e169f6b6729fdf702cb5958fe47f1 Mon Sep 17 00:00:00 2001 From: Harald Wolff Date: Thu, 28 Jan 2021 22:56:02 +0100 Subject: [PATCH] Fix HttpRoutingContext.PopNext(..) --- ln.http/ln.http.csproj | 2 +- ln.http/router/HttpRoutingContext.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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));