Title: Strip usernames from URLs as well as passwords by glennmatthews · Pull Request #1437 · gitpython-developers/GitPython · GitHub
Open Graph Title: Strip usernames from URLs as well as passwords by glennmatthews · Pull Request #1437 · gitpython-developers/GitPython
X Title: Strip usernames from URLs as well as passwords by glennmatthews · Pull Request #1437 · gitpython-developers/GitPython
Description: Fixes #1284 Extend remove_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 extended CommandError.__init__ to also call remove_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.
Open Graph Description: Fixes #1284 Extend remove_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 extended CommandError....
X Description: Fixes #1284 Extend remove_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 extended CommandError....
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/1437
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:53140988-0f96-af67-913a-42b4da8406eb |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | AD08:46014:183CFA8:208FFC3:6969AAB1 |
| html-safe-nonce | 35812284038e418de83cc7eb599fe3cbaca56ff7b6a4a195b9e6d069889d1e2c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDA4OjQ2MDE0OjE4M0NGQTg6MjA4RkZDMzo2OTY5QUFCMSIsInZpc2l0b3JfaWQiOiIyNTQ1NTE4MzQ4MDYwOTYxNDU3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b01c8bc128fd1dae5819c6ee55d56991385f1c658d4f1f4d3df95bc9f9437208 |
| hovercard-subject-tag | pull_request:927843298 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/gitpython-developers/GitPython/pull/1437/checks |
| twitter:image | https://avatars.githubusercontent.com/u/5603551?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5603551?s=400&v=4 |
| og:image:alt | Fixes #1284 Extend remove_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 extended CommandError.... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width