mirror of
https://github.com/github/codeql.git
synced 2026-05-11 01:39:28 +02:00
use HtmlConcatenationLeaf
This commit is contained in:
@@ -54,7 +54,7 @@ module IncompleteHtmlAttributeSanitization {
|
||||
lhs = this.getPreviousLeaf().getStringValue().regexpCapture("(?s)(.*)=\"[^\"]*", 1) and
|
||||
(
|
||||
this.getNextLeaf().getStringValue().regexpMatch(".*\".*") or
|
||||
this.getRoot().getConstantStringParts().regexpMatch("(?s).*</.*")
|
||||
this instanceof StringOps::HtmlConcatenationLeaf
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user