Skip to content

Commit

Permalink
Merge pull request #97 from Clever/INFRANG-5663
Browse files Browse the repository at this point in the history
don't include Authorization header
  • Loading branch information
ChrisScotMartin authored Nov 2, 2023
2 parents 4a1d667 + 4246921 commit b6ffd67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ func ConcatWithRequest(data M, req Request) M {
"method": req["method"],
}
for header, values := range req["headers"].(http.Header) {
kvData[header] = strings.Join(values, ";")
if header != "Authorization" {
kvData[header] = strings.Join(values, ";")
}
}
for key, val := range data {
kvData[key] = val
Expand Down

0 comments on commit b6ffd67

Please sign in to comment.