diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2020-06-05 14:21:36 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-06-05 15:05:04 -0700 |
commit | 827e7d4da470e8b9b222b2cf3b4a3b7f8c3c671f (patch) | |
tree | 34d7ad0f2cb56442cdffd9d102179ad9396277c4 /banned.h | |
parent | http, imap-send: stop using CURLOPT_VERBOSE (diff) | |
download | tgif-827e7d4da470e8b9b222b2cf3b4a3b7f8c3c671f.tar.xz |
http: redact all cookies, teach GIT_TRACE_REDACT=0
In trace output (when GIT_TRACE_CURL is true), redact the values of all
HTTP cookies by default. Now that auth headers (since the implementation
of GIT_TRACE_CURL in 74c682d3c6 ("http.c: implement the GIT_TRACE_CURL
environment variable", 2016-05-24)) and cookie values (since this
commit) are redacted by default in these traces, also allow the user to
inhibit these redactions through an environment variable.
Since values of all cookies are now redacted by default,
GIT_REDACT_COOKIES (which previously allowed users to select individual
cookies to redact) now has no effect.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'banned.h')
0 files changed, 0 insertions, 0 deletions