mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Add another exception
This commit is contained in:
@@ -25,6 +25,6 @@ from QueryDoc d
|
|||||||
where
|
where
|
||||||
d.getLocation().getFile().getRelativePath().matches("%src/Security/%") and
|
d.getLocation().getFile().getRelativePath().matches("%src/Security/%") and
|
||||||
not d.getQueryId().matches("android/%") and
|
not d.getQueryId().matches("android/%") and
|
||||||
not d.getQueryId() = "improper-intent-verification" and // known badly identified query that sadly we can't fix
|
not d.getQueryId() = ["improper-intent-verification", "improper-webview-certificate-validation"] and // known badly identified queries that sadly we can't fix
|
||||||
importsAndroidModule(d.getParent())
|
importsAndroidModule(d.getParent())
|
||||||
select d, "This Android query is missing the `android/` prefix in its `@id`."
|
select d, "This Android query is missing the `android/` prefix in its `@id`."
|
||||||
|
|||||||
Reference in New Issue
Block a user