Skip to content

Commit 559f03e

Browse files
committed
remove unnecessary module qualifier
1 parent 2d9d383 commit 559f03e

File tree

1 file changed

+5
-5
lines changed
  • javascript/ql/lib/semmle/javascript/security/dataflow

1 file changed

+5
-5
lines changed

javascript/ql/lib/semmle/javascript/security/dataflow/Xss.qll

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ module DomBasedXss {
347347
/**
348348
* A write to the `template` option of a Vue instance, viewed as an XSS sink.
349349
*/
350-
class VueTemplateSink extends DomBasedXss::Sink {
350+
class VueTemplateSink extends Sink {
351351
VueTemplateSink() {
352352
// Note: don't use Vue::Component#getTemplate as it includes an unwanted getALocalSource() step
353353
this = any(Vue::Component c).getOption("template")
@@ -358,7 +358,7 @@ module DomBasedXss {
358358
* The tag name argument to the `createElement` parameter of the
359359
* `render` method of a Vue instance, viewed as an XSS sink.
360360
*/
361-
class VueCreateElementSink extends DomBasedXss::Sink {
361+
class VueCreateElementSink extends Sink {
362362
VueCreateElementSink() {
363363
exists(Vue::Component c, DataFlow::FunctionNode f |
364364
f.flowsTo(c.getRender()) and
@@ -370,12 +370,12 @@ module DomBasedXss {
370370
/**
371371
* A Vue `v-html` attribute, viewed as an XSS sink.
372372
*/
373-
class VHtmlSink extends Vue::VHtmlAttribute, DomBasedXss::Sink { }
373+
class VHtmlSink extends Vue::VHtmlAttribute, Sink { }
374374

375375
/**
376376
* A raw interpolation tag in a template file, viewed as an XSS sink.
377377
*/
378-
class TemplateSink extends DomBasedXss::Sink {
378+
class TemplateSink extends Sink {
379379
TemplateSink() {
380380
exists(Templating::TemplatePlaceholderTag tag |
381381
tag.isRawInterpolation() and
@@ -388,7 +388,7 @@ module DomBasedXss {
388388
* A value being piped into the `safe` pipe in a template file,
389389
* disabling subsequent HTML escaping.
390390
*/
391-
class SafePipe extends DomBasedXss::Sink {
391+
class SafePipe extends Sink {
392392
SafePipe() { this = Templating::getAPipeCall("safe").getArgument(0) }
393393
}
394394

0 commit comments

Comments
 (0)