Skip to content

Conversation

tiwarishubham635
Copy link
Contributor

Fixes

removing auth values from str() so that the credentials can be prevented from entering into logs

Checklist

  • I acknowledge that all my contributions will be made under the project's license
  • I have made a material change to the repo (functionality, testing, spelling, grammar)
  • I have read the Contribution Guidelines and my PR follows them
  • I have titled the PR appropriately
  • I have updated my branch with the main branch
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation about the functionality in the appropriate .md file
  • I have added inline documentation to the code I modified

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.

Copy link

' -d "FriendlyName=My New Account"\n'
' -H "X-Custom-Header: Value"'
)
self.assertEqual(expected, req.__str__())
Copy link
Contributor

@sbansla sbansla Oct 13, 2025

Choose a reason for hiding this comment

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

Add a check that Authorization is not expected. Although on a second thought this should also work.

@tiwarishubham635 tiwarishubham635 merged commit 2aa9e67 into main Oct 13, 2025
19 checks passed
@tiwarishubham635 tiwarishubham635 deleted the remove_auth_from_request branch October 13, 2025 10:51
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.

3 participants