We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 28d5ef9 + 3818971 commit bb95b8aCopy full SHA for bb95b8a
csharp/ql/src/semmle/code/csharp/frameworks/microsoft/AspNetCore.qll
@@ -195,7 +195,13 @@ class MicrosoftAspNetCoreMvcController extends Class {
195
/** Gets a `Redirect*` method. */
196
Method getARedirectMethod() {
197
result = this.getAMethod() and
198
- result.getName().matches("Redirect%")
+ (
199
+ result.getName().matches("Redirect%")
200
+ or
201
+ result.getName().matches("Accepted%")
202
203
+ result.getName().matches("Created%")
204
+ )
205
}
206
207
0 commit comments