Skip to content

Commit 818c312

Browse files
committed
Add exception for java/improper-intent-verification
As suggested by @igfoo.
1 parent 4153480 commit 818c312

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ql/ql/src/queries/style/AndroidIdPrefix.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ from QueryDoc d
2525
where
2626
d.getLocation().getFile().getRelativePath().matches("%src/Security/%") and
2727
not d.getQueryId().matches("android/%") and
28+
not d.getQueryId() = "improper-intent-verification" and // known badly identified query that sadly we can't fix
2829
importsAndroidModule(d.getParent())
2930
select d, "This Android query is missing the `android/` prefix in its `@id`."

0 commit comments

Comments
 (0)