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)
|
||||
{
|
||||
this.HttpMethod = httpHttpMethod;
|
||||
this.RegexStr = regexStr;
|
||||
this.RegexStr = regexStr + "(?:/?)";
|
||||
this.Method = method;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user