Update javascript/ql/src/semmle/javascript/frameworks/ClientRequests.qll

Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
This commit is contained in:
Erik Krogh Kristensen
2020-06-03 13:51:04 +02:00
committed by GitHub
parent f8caec76ab
commit 6466ab19a0

View File

@@ -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 |