Skip to content

Commit

Permalink
Merge pull request #18322 from egregius313/egregius313/csharp/blazor/…
Browse files Browse the repository at this point in the history
…modeling/sources

C#: Add common sources for Blazor components
  • Loading branch information
egregius313 authored Dec 20, 2024
2 parents 2aba49f + 453913c commit f06ad7c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: minorAnalysis
---
* Added `remote` flow source models for properties of Blazor components annotated with any of the following attributes from `Microsoft.AspNetCore.Components`:
- `[SupplyParameterFromForm]`
- `[SupplyParameterFromQuery]`
2 changes: 2 additions & 0 deletions csharp/ql/lib/ext/Microsoft.AspNetCore.Components.model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ extensions:
data:
- ["Microsoft.AspNetCore.Components", "NavigationManager", True, "get_BaseUri", "", "", "ReturnValue", "remote", "manual"]
- ["Microsoft.AspNetCore.Components", "NavigationManager", True, "get_Uri", "", "", "ReturnValue", "remote", "manual"]
- ["Microsoft.AspNetCore.Components", "SupplyParameterFromFormAttribute", False, "", "", "Attribute.Getter", "ReturnValue", "remote", "manual"]
- ["Microsoft.AspNetCore.Components", "SupplyParameterFromQueryAttribute", False, "", "", "Attribute.Getter", "ReturnValue", "remote", "manual"]
- addsTo:
pack: codeql/csharp-all
extensible: summaryModel
Expand Down

0 comments on commit f06ad7c

Please sign in to comment.