Fix issue with query string on sensitive APIs
This commit is contained in:
parent
e33ea75ee0
commit
4cd182844a
|
@ -217,7 +217,10 @@ class RestIntegration implements IntegrationBase {
|
|||
}
|
||||
}
|
||||
|
||||
const main = `${path}?${queryString}`
|
||||
if (queryString) {
|
||||
queryString = "?" + queryString
|
||||
}
|
||||
const main = `${path}${queryString}`
|
||||
let complete = main
|
||||
if (this.config.url && !main.startsWith("http")) {
|
||||
complete = !this.config.url ? main : `${this.config.url}/${main}`
|
||||
|
|
Loading…
Reference in New Issue