Skip to content

Commit 1b53cd4

Browse files
erik-kroghesbena
andauthored
update docstring of FetchAuthorization
Co-authored-by: Esben Sparre Andreasen <[email protected]>
1 parent 19dd472 commit 1b53cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/frameworks/NodeJSLib.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@ module NodeJSLib {
11571157
result = DataFlow::globalVarRef("Headers").getAnInstantiation() // https://fetch.spec.whatwg.org/#headers-class
11581158
}
11591159

1160-
/** An expression that is passed as `http.request({ auth: <expr> }, ...)`. */
1160+
/** An expression that is used as a credential in fetch-request. */
11611161
private class FetchAuthorization extends CredentialsExpr {
11621162
FetchAuthorization() {
11631163
exists(DataFlow::Node headers |

0 commit comments

Comments
 (0)