Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bmoylan
Copy link
Contributor

@bmoylan bmoylan commented May 14, 2024

When a request URL contains basic auth information, that URL segment is ending up in the logs unredacted. Use the standard library's Redacted() function to fix this.

@bmoylan
Copy link
Contributor Author

bmoylan commented May 15, 2024

cc @imjasonh for review, thanks!

@bmoylan
Copy link
Contributor Author

bmoylan commented May 23, 2024

Hi @jonjohnsonjr @imjasonh this small change should fix leaking tokens into logs, hoping you can take a quick look!

Copy link

This Pull Request is stale because it has been open for 90 days with
no activity. It will automatically close after 30 more days of
inactivity. Keep fresh with the 'lifecycle/frozen' label.

@bmoylan
Copy link
Contributor Author

bmoylan commented Aug 26, 2024

not stale! @jonjohnsonjr @imjasonh could you take a look at this? Thanks!

@jonjohnsonjr jonjohnsonjr reopened this Aug 26, 2024
@jonjohnsonjr jonjohnsonjr enabled auto-merge (squash) August 26, 2024 19:17
@jonjohnsonjr jonjohnsonjr merged commit a07d1ca into google:main Aug 26, 2024
17 checks passed
@bmoylan bmoylan deleted the bm/redact-auth branch September 14, 2024 04:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants