Add exception for java/improper-intent-verification

As suggested by @igfoo.
This commit is contained in:
Tony Torralba
2023-06-20 14:50:33 +02:00
parent 41534803e5
commit 818c312a56

View File

@@ -25,5 +25,6 @@ from QueryDoc d
where
d.getLocation().getFile().getRelativePath().matches("%src/Security/%") and
not d.getQueryId().matches("android/%") and
not d.getQueryId() = "improper-intent-verification" and // known badly identified query that sadly we can't fix
importsAndroidModule(d.getParent())
select d, "This Android query is missing the `android/` prefix in its `@id`."