diff --git a/csharp/ql/lib/semmle/code/csharp/frameworks/microsoft/Owin.qll b/csharp/ql/lib/semmle/code/csharp/frameworks/microsoft/Owin.qll index 331e89b1bb8..9d9bf11f91c 100644 --- a/csharp/ql/lib/semmle/code/csharp/frameworks/microsoft/Owin.qll +++ b/csharp/ql/lib/semmle/code/csharp/frameworks/microsoft/Owin.qll @@ -118,10 +118,10 @@ class MicrosoftOwinIOwinRequestClass extends Class { result.hasName("Scheme") } - /** Gets the `URI` property. */ + /** Gets the `Uri` property. */ Property getUriProperty() { result = this.getAProperty() and - result.hasName("URI") + result.hasName("Uri") } /** DEPRECATED: Alias for getUriProperty */ diff --git a/csharp/ql/src/change-notes/2022-12-05-owin-uri-fix.md b/csharp/ql/src/change-notes/2022-12-05-owin-uri-fix.md new file mode 100644 index 00000000000..e92df82a41c --- /dev/null +++ b/csharp/ql/src/change-notes/2022-12-05-owin-uri-fix.md @@ -0,0 +1,4 @@ +--- +category: fix +--- +* Fixes a bug where the Owin.qll framework library will look for "URI" instead of "Uri" in the OwinRequest class.