Skip to content

Commit 51f11f1

Browse files
authored
Merge pull request github#11576 from ethanwilloner/main
csharp: URI should be Uri in Owin.qll library.
2 parents afe7872 + 64f5806 commit 51f11f1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

csharp/ql/lib/semmle/code/csharp/frameworks/microsoft/Owin.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ class MicrosoftOwinIOwinRequestClass extends Class {
118118
result.hasName("Scheme")
119119
}
120120

121-
/** Gets the `URI` property. */
121+
/** Gets the `Uri` property. */
122122
Property getUriProperty() {
123123
result = this.getAProperty() and
124-
result.hasName("URI")
124+
result.hasName("Uri")
125125
}
126126

127127
/** DEPRECATED: Alias for getUriProperty */
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: fix
3+
---
4+
* Fixes a bug where the Owin.qll framework library will look for "URI" instead of "Uri" in the OwinRequest class.

0 commit comments

Comments
 (0)