2
0

Add "(?:/?)" to the end of all Regex RequestPaths

This commit is contained in:
Glax 2024-04-22 04:43:08 +02:00
parent ea866e0136
commit e360037fda

View File

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