mirror of
https://github.com/C9Glax/tranga.git
synced 2025-02-23 15:50:13 +01:00
Add "(?:/?)" to the end of all Regex RequestPaths
This commit is contained in:
parent
ea866e0136
commit
e360037fda
@ -13,7 +13,7 @@ internal struct RequestPath
|
|||||||
Func<GroupCollection, Dictionary<string, string>, ValueTuple<HttpStatusCode, object?>> method)
|
Func<GroupCollection, Dictionary<string, string>, ValueTuple<HttpStatusCode, object?>> method)
|
||||||
{
|
{
|
||||||
this.HttpMethod = httpHttpMethod;
|
this.HttpMethod = httpHttpMethod;
|
||||||
this.RegexStr = regexStr;
|
this.RegexStr = regexStr + "(?:/?)";
|
||||||
this.Method = method;
|
this.Method = method;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user