← Commit list

38cd720f76

Shintomon Mathew
Shintomon Mathew
2026-05-18
SUCCESS Duration: 227s

Subject

creds: mask OAuth bearer token in trace logs

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/creds.c+1 -1
@@ -181,7 +181,7 @@ void Curl_creds_trace(struct Curl_easy *data, struct Curl_creds *creds,
Curl_creds_user(creds),
Curl_creds_has_passwd(creds) ? "***" : "",
Curl_creds_sasl_authzid(creds),
- Curl_creds_oauth_bearer(creds),
+ Curl_creds_has_oauth_bearer(creds) ? "***" : "",
creds->source);
}
else