Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: client security scheme now works with spec v3 #588

Merged
merged 10 commits into from
Dec 13, 2023
Prev Previous commit
Update wsHttpAuth.ts
Souvikns committed Dec 12, 2023
commit ca6fa9d63a552ff7537fab1fe8295227821a78eb
1 change: 1 addition & 0 deletions src/lib/wsHttpAuth.ts
Original file line number Diff line number Diff line change
@@ -77,9 +77,10 @@
const conf = this.httpApiKeyLogic(scheme, headers, query, authKey)
headers = conf.headers
query = conf.query

if (query) {
Object.keys(query).forEach(k => {
url.searchParams.set(k, query[k])

Check warning on line 83 in src/lib/wsHttpAuth.ts

GitHub Actions / Test NodeJS PR - ubuntu-latest

Function Call Object Injection Sink

Check warning on line 83 in src/lib/wsHttpAuth.ts

GitHub Actions / Test NodeJS PR - macos-latest

Function Call Object Injection Sink
})
}
}