mirror of
https://github.com/github/codeql.git
synced 2026-04-22 15:25:18 +02:00
JS: Fix a bug in isSafeClientSideUrlProperty
This commit is contained in:
@@ -5,7 +5,7 @@ function t1() {
|
||||
|
||||
sink(href); // $ flow=tainted-url-suffix
|
||||
|
||||
sink(href.split('#')[0]); // $ MISSING: flow=tainted-url-suffix SPURIOUS: flow=taint
|
||||
sink(href.split('#')[0]); // $ MISSING: flow=tainted-url-suffix
|
||||
sink(href.split('#')[1]); // $ flow=taint
|
||||
sink(href.split('#').pop()); // $ flow=taint
|
||||
sink(href.split('#')[2]); // $ flow=taint
|
||||
|
||||
Reference in New Issue
Block a user