File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
csharp/ql/lib/semmle/code/csharp/frameworks/microsoft/aspnetcore Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ class MicrosoftAspNetCoreComponentsComponent extends Class {
86
86
* There are various extensions that can be added next to the parameter name, such as `:int` or `?` to make the parameter optional.
87
87
* Optionally, the parameter name can start with a `*` to make it a catch-all parameter.
88
88
*
89
- * And example of a route parameter is `@page "/counter/{id:int}/{other?}/{*rest}"`, from this we're getting the `id`, `other` and `rest` parameters.
89
+ * An example of a route parameter is `@page "/counter/{id:int}/{other?}/{*rest}"`, from this we're getting the `id`, `other` and `rest` parameters.
90
90
*/
91
91
private string getARouteParameter ( ) {
92
92
result = this .getRouteAttributeUrl ( ) .splitAt ( "{" ) .regexpCapture ( "\\*?([^:?}]+)[:?}](.*)" , 1 )
You can’t perform that action at this time.
0 commit comments