You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: javascript/ql/test/query-tests/Security/CWE-079/unsafe-jquery-plugin.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -154,7 +154,7 @@
154
154
lettarget=options.target;
155
155
target===DEFAULTS.target? $(target): $(document).find(target);// OK
156
156
options.target===DEFAULTS.target? $(options.target): $(document).find(options.target);// OK
157
-
options.targets.a===DEFAULTS.target? $(options.target.a): $(document).find(options.target.a);// OK - but still flagged [INCONSISTENCY]
157
+
options.targets.a===DEFAULTS.target? $(options.target.a): $(document).find(options.target.a);// OK - should be sanitized by `MembershipTestSanitizer` - but still flagged because `AccessPath` can't handle these deeply nested properties [INCONSISTENCY]
0 commit comments