Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Strip usernames from URLs as well as passwords#1437

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Byron merged 1 commit intogitpython-developers:mainfromglennmatthews:issue-1284
May 5, 2022
Merged

Strip usernames from URLs as well as passwords#1437

Byron merged 1 commit intogitpython-developers:mainfromglennmatthews:issue-1284
May 5, 2022

Conversation

glennmatthews
Copy link
Contributor

Fixes#1284

  • Extendremove_password_if_present to remove usernames from URLs as well as the existing behavior of removing passwords from URLs.
  • As an extra level of caution, I extendedCommandError.__init__ to also callremove_password_if_present just in case an exception gets raised from a non-sanitized command by mistake.
  • Add test coverage for both of the above changes.

jathanism and bryanculver reacted with thumbs up emoji
@Byron
Copy link
Member

Thanks a lot for your contribution!

I particularly like that there are tests for all changes (which I assume break without these modifications).

@ByronByron merged commitb3166ec intogitpython-developers:mainMay 5, 2022
@ByronByron added this to thev3.1.28 - Bugfixes milestoneMay 5, 2022
@glennmatthewsglennmatthews deleted the issue-1284 branchMay 5, 2022 13:58
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Github token is leaked when used as a part of remote URL
2 participants
@glennmatthews@Byron

[8]ページ先頭

©2009-2025 Movatter.jp