зеркало из https://github.com/github/codeql.git
delete PrefixStringSanitizer
This commit is contained in:
Родитель
c72dbc49fc
Коммит
09794fa836
|
@ -41,7 +41,6 @@ class Configration extends TaintTracking::Configuration {
|
|||
}
|
||||
|
||||
override predicate isSanitizerGuard(TaintTracking::SanitizerGuardNode guard) {
|
||||
guard instanceof PrefixStringSanitizer or
|
||||
guard instanceof QuoteGuard or
|
||||
guard instanceof ContainsHtmlGuard or
|
||||
guard instanceof TypeTestGuard
|
||||
|
@ -50,15 +49,6 @@ class Configration extends TaintTracking::Configuration {
|
|||
|
||||
private import semmle.javascript.security.dataflow.Xss::Shared as Shared
|
||||
|
||||
private class PrefixStringSanitizer extends TaintTracking::SanitizerGuardNode,
|
||||
DomBasedXss::PrefixStringSanitizer {
|
||||
PrefixStringSanitizer() { this = this }
|
||||
}
|
||||
|
||||
private class PrefixString extends DataFlow::FlowLabel, DomBasedXss::PrefixString {
|
||||
PrefixString() { this = this }
|
||||
}
|
||||
|
||||
private class QuoteGuard extends TaintTracking::SanitizerGuardNode, Shared::QuoteGuard {
|
||||
QuoteGuard() { this = this }
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче