mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
change the pseudo-property on URL to a two-stage process
This commit is contained in:
@@ -335,4 +335,8 @@ function URLPseudoProperties() {
|
||||
let params = getTaintedUrl().searchParams;
|
||||
$('name').html(params.get('name'));
|
||||
|
||||
// OK (.get is not defined on a URL)
|
||||
let myUrl = getTaintedUrl();
|
||||
$('name').html(myUrl.get('name'));
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user