Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid logging sensitive headers #414

Closed
andrewhickman opened this issue Sep 1, 2021 · 0 comments · Fixed by #415
Closed

Avoid logging sensitive headers #414

andrewhickman opened this issue Sep 1, 2021 · 0 comments · Fixed by #415

Comments

@andrewhickman
Copy link
Contributor

Currently the entire HTTP prelude is printed at debug level, including all headers

debug!("writing prelude: {}", String::from_utf8_lossy(&prelude));

It would be nice to avoid printing sensitive headers like Authorization

@jsha jsha closed this as completed in #415 Oct 5, 2021
jsha pushed a commit that referenced this issue Oct 5, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Closes #414
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant