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 {
8686 * There are various extensions that can be added next to the parameter name, such as `:int` or `?` to make the parameter optional.
8787 * Optionally, the parameter name can start with a `*` to make it a catch-all parameter.
8888 *
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.
9090 */
9191 private string getARouteParameter ( ) {
9292 result = this .getRouteAttributeUrl ( ) .splitAt ( "{" ) .regexpCapture ( "\\*?([^:?}]+)[:?}](.*)" , 1 )
You can’t perform that action at this time.
0 commit comments