mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
update docstring of FetchAuthorization
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
committed by
GitHub
parent
19dd472ee5
commit
1b53cd4bd9
@@ -1157,7 +1157,7 @@ module NodeJSLib {
|
||||
result = DataFlow::globalVarRef("Headers").getAnInstantiation() // https://fetch.spec.whatwg.org/#headers-class
|
||||
}
|
||||
|
||||
/** An expression that is passed as `http.request({ auth: <expr> }, ...)`. */
|
||||
/** An expression that is used as a credential in fetch-request. */
|
||||
private class FetchAuthorization extends CredentialsExpr {
|
||||
FetchAuthorization() {
|
||||
exists(DataFlow::Node headers |
|
||||
|
||||
Reference in New Issue
Block a user