sphinx-contrib / confluencebuilder

Confluence Markup Builder Plugin for Sphinx
BSD 2-Clause "Simplified" License
315 stars 99 forks source link

redact authorization header in debug bumps #994

Closed jdknight closed 3 months ago

jdknight commented 3 months ago

When a user has configured logging for headers, this will print a series of raw headers to the configured standard output stream. This is primarily to help aid in debugging and development scenarios. To help avoid situations where users may want to share the authorization header, force redact the header's value when printing.

This commit also introduces the option headers_raw to allow advanced users to dump the raw header value with no redaction, if ever needed.