Skip to content

Commit 07aad61

Browse files
committed
Typo
1 parent eb25c76 commit 07aad61

File tree

1 file changed

+1
-1
lines changed
  • csharp/ql/lib/semmle/code/csharp/frameworks/microsoft/aspnetcore

1 file changed

+1
-1
lines changed

csharp/ql/lib/semmle/code/csharp/frameworks/microsoft/aspnetcore/Components.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)