This commit is contained in:
erik-krogh 2023-02-15 13:22:25 +01:00
Родитель c72dbc49fc
Коммит 09794fa836
Не найден ключ, соответствующий данной подписи
1 изменённых файлов: 0 добавлений и 10 удалений

Просмотреть файл

@ -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 }
}