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

Fix: Redact password from URL #195

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Conversation

xBlaz3kx
Copy link
Contributor

According to #190, password gets logged when connection fails. Hopefully this solves the issue :)

@wagslane
Copy link
Owner

Thanks so much - honestly though, I think we should just not log the URL at all - would you mind updating your PR to just remove it and I'll get this merged?

@xBlaz3kx
Copy link
Contributor Author

I would keep it though, I think it would be useful for debugging. Perhaps the user specified multiple server connections, each with different u/p or addresses. In case of failure, it would be easier to pinpoint the problematic connection or URL.

Copy link
Owner

@wagslane wagslane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright, im down to leave the url if it's redacted - just one nit

internal/connectionmanager/connection_manager.go Outdated Show resolved Hide resolved
@xBlaz3kx xBlaz3kx requested a review from wagslane November 27, 2024 08:46
@wagslane wagslane merged commit c8749e5 into wagslane:main Nov 27, 2024
1 check passed
@xBlaz3kx xBlaz3kx deleted the fix/redact-password branch November 27, 2024 21:02
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 this pull request may close these issues.

2 participants