Fix HttpRoutingContext.PopNext(..)

master
Harald Wolff 2021-01-28 22:56:02 +01:00
parent 610ed7e944
commit 4c0caac073
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.4.1</Version>
<Version>0.4.2</Version>
<Authors>Harald Wolff-Thobaben</Authors>
<Company>l--n.de</Company>
<Description />

View File

@ -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));