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 {
5151 }
5252}
5353
54- class URLConstructorLabel extends FlowLabel {
55- URLConstructorLabel ( ) { this = "URLConstructorLabel " }
54+ class UrlConstructorLabel extends FlowLabel {
55+ UrlConstructorLabel ( ) { this = "UrlConstructorLabel " }
5656}
5757
5858/**
@@ -66,7 +66,7 @@ class Configuration extends TaintTracking::Configuration {
6666 override predicate isSink ( DataFlow:: Node sink ) { sink instanceof DynamicImport }
6767
6868 override predicate isSink ( DataFlow:: Node sink , FlowLabel label ) {
69- sink instanceof WorkerThreads and label instanceof URLConstructorLabel
69+ sink instanceof WorkerThreads and label instanceof UrlConstructorLabel
7070 }
7171
7272 override predicate isSanitizer ( DataFlow:: Node node ) { node instanceof Sanitizer }
@@ -79,7 +79,7 @@ class Configuration extends TaintTracking::Configuration {
7979 pred = newUrl .getArgument ( 0 )
8080 ) and
8181 predlbl instanceof StandardFlowLabel and
82- succlbl instanceof URLConstructorLabel
82+ succlbl instanceof UrlConstructorLabel
8383 }
8484}
8585
You can’t perform that action at this time.
0 commit comments