File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
javascript/ql/src/experimental/Security/CWE-094-dataURL Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ class WorkerThreads extends DataFlow::Node {
51
51
}
52
52
}
53
53
54
- class URLConstructorLabel extends FlowLabel {
55
- URLConstructorLabel ( ) { this = "URLConstructorLabel " }
54
+ class UrlConstructorLabel extends FlowLabel {
55
+ UrlConstructorLabel ( ) { this = "UrlConstructorLabel " }
56
56
}
57
57
58
58
/**
@@ -66,7 +66,7 @@ class Configuration extends TaintTracking::Configuration {
66
66
override predicate isSink ( DataFlow:: Node sink ) { sink instanceof DynamicImport }
67
67
68
68
override predicate isSink ( DataFlow:: Node sink , FlowLabel label ) {
69
- sink instanceof WorkerThreads and label instanceof URLConstructorLabel
69
+ sink instanceof WorkerThreads and label instanceof UrlConstructorLabel
70
70
}
71
71
72
72
override predicate isSanitizer ( DataFlow:: Node node ) { node instanceof Sanitizer }
@@ -79,7 +79,7 @@ class Configuration extends TaintTracking::Configuration {
79
79
pred = newUrl .getArgument ( 0 )
80
80
) and
81
81
predlbl instanceof StandardFlowLabel and
82
- succlbl instanceof URLConstructorLabel
82
+ succlbl instanceof UrlConstructorLabel
83
83
}
84
84
}
85
85
You can’t perform that action at this time.
0 commit comments