mirror of
https://github.com/github/codeql.git
synced 2026-04-17 21:14:02 +02:00
JavaScript: Autoformat
This commit is contained in:
@@ -35,7 +35,8 @@ module UnsafeJQueryPlugin {
|
||||
* An argument that may act as an HTML fragment rather than a CSS selector, as a sink for remote unsafe jQuery plugins.
|
||||
*/
|
||||
class AmbiguousHtmlOrSelectorArgument extends DataFlow::Node,
|
||||
DomBasedXss::JQueryHtmlOrSelectorArgument {
|
||||
DomBasedXss::JQueryHtmlOrSelectorArgument
|
||||
{
|
||||
AmbiguousHtmlOrSelectorArgument() {
|
||||
// any fixed prefix makes the call unambiguous
|
||||
not exists(getAPrefix())
|
||||
@@ -175,7 +176,8 @@ module UnsafeJQueryPlugin {
|
||||
/**
|
||||
* An argument that may act as an HTML fragment rather than a CSS selector, as a sink for remote unsafe jQuery plugins.
|
||||
*/
|
||||
class AmbiguousHtmlOrSelectorArgumentAsSink extends Sink instanceof AmbiguousHtmlOrSelectorArgument {
|
||||
class AmbiguousHtmlOrSelectorArgumentAsSink extends Sink instanceof AmbiguousHtmlOrSelectorArgument
|
||||
{
|
||||
AmbiguousHtmlOrSelectorArgumentAsSink() { not isLikelyIntentionalHtmlSink(this) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user