mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
JS: Fix a bug in isSafeClientSideUrlProperty
This commit is contained in:
@@ -255,7 +255,7 @@ module TaintTracking {
|
||||
exists(StringSplitCall c |
|
||||
c.getBaseString().getALocalSource() =
|
||||
[DOM::locationRef(), DOM::locationRef().getAPropertyRead("href")] and
|
||||
c.getSeparator() = "?" and
|
||||
c.getSeparator() = ["?", "#"] and
|
||||
read = c.getAPropertyRead("0")
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user