Skip to content

Commit aa87008

Browse files
committed
JS: typo fixups
1 parent b3691cd commit aa87008

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

javascript/ql/src/Security/CWE-020/IncompleteUrlSchemeCheck.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ DataFlow::Node schemeCheck(DataFlow::Node nd, DangerousScheme scheme) {
6767
// fall back to the candidate if the test itself is implicit
6868
not exists(candidate.getTest()) and result = candidate
6969
|
70-
t.getAMemberString() = scheme.getWithOrWithoutColon() and
70+
candidate.getAMemberString() = scheme.getWithOrWithoutColon() and
7171
schemeOf(nd).flowsTo(candidate)
7272
)
7373
or

javascript/ql/src/semmle/javascript/MembershipCandidates.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class MembershipCandidate extends DataFlow::Node {
4646
module MembershipCandidate {
4747
/**
4848
* An expression that is tested for membership of a collection.
49-
*
5049
*/
5150
abstract class Range extends DataFlow::Node {
5251
/**

0 commit comments

Comments
 (0)