Skip to content

Commit c4d9ffb

Browse files
committed
Add more sensitive cookie names as needed
1 parent 23a1f29 commit c4d9ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httpclient/httpclient_cookies.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func RedactSensitiveCookies(cookies []*http.Cookie) []*http.Cookie {
1212
// Define sensitive cookie names that should be redacted.
1313
sensitiveCookieNames := map[string]bool{
1414
"SessionID": true, // Example sensitive cookie name
15-
// Add more sensitive cookie names as needed.
15+
// More sensitive cookie names will be added as needed.
1616
}
1717

1818
// Iterate over the cookies and redact sensitive ones.

0 commit comments

Comments
 (0)