mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
recognize types of the form "HTML%Element" as dom values
This commit is contained in:
@@ -450,6 +450,8 @@ module DOM {
|
||||
result = domValueRef(DataFlow::TypeTracker::end())
|
||||
or
|
||||
result.hasUnderlyingType("Element")
|
||||
or
|
||||
result.hasUnderlyingType(any(string s | s.matches("HTML%Element")))
|
||||
}
|
||||
|
||||
module LocationSource {
|
||||
|
||||
Reference in New Issue
Block a user