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

feat: Sanitize proxy credentials #782

Merged
merged 4 commits into from
Dec 29, 2022

Conversation

lukaszsocha2
Copy link
Contributor

Closes: SDK-2823

@lukaszsocha2 lukaszsocha2 changed the title feat: Sanitise proxy credentials feat: Sanitize proxy credentials Dec 21, 2022
@coveralls
Copy link

coveralls commented Dec 21, 2022

Pull Request Test Coverage Report for Build 3800751862

  • 8 of 8 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 93.529%

Totals Coverage Status
Change from base Build 3758880645: 0.01%
Covered Lines: 3411
Relevant Lines: 3647

💛 - Coveralls

mhagmajer
mhagmajer previously approved these changes Dec 28, 2022
Copy link
Contributor

@mhagmajer mhagmajer left a comment

Choose a reason for hiding this comment

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

Looks good! Please take a look at the failing integration test

Comment on lines 107 to 113
{'http': 'http://username:password@localhost:8080'},
{'http': 'http://---name:---word@localhost:8080'},
),
# Test for proxy https
(
{'https': 'http://username:password@localhost:8080'},
{'https': 'http://---name:---word@localhost:8080'},
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you sure hiding first 4 characters of password is safe enough?

Copy link
Contributor

@arjankowski arjankowski left a comment

Choose a reason for hiding this comment

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

👍

@lukaszsocha2 lukaszsocha2 merged commit 97fb5aa into main Dec 29, 2022
@lukaszsocha2 lukaszsocha2 deleted the sdk-sanitise-proxy-credentials-when-logging branch December 29, 2022 14:07
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.

None yet

4 participants