mirror of
https://github.com/github/codeql.git
synced 2026-05-11 01:39:28 +02:00
Update javascript/ql/src/semmle/javascript/frameworks/ClientRequests.qll
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
committed by
GitHub
parent
f8caec76ab
commit
6466ab19a0
@@ -282,7 +282,7 @@ module ClientRequest {
|
||||
result = DataFlow::globalVarRef("Headers").getAnInstantiation() // https://fetch.spec.whatwg.org/#headers-class
|
||||
}
|
||||
|
||||
/** An expression that is used as a credential in fetch-request. */
|
||||
/** An expression that is used as a credential in a fetch-request. */
|
||||
private class FetchAuthorization extends CredentialsExpr {
|
||||
FetchAuthorization() {
|
||||
exists(DataFlow::Node headerObject |
|
||||
|
||||
Reference in New Issue
Block a user