Title: Fix leaking environment variables by Plazmaz · Pull Request #662 · gitpython-developers/GitPython · GitHub
Open Graph Title: Fix leaking environment variables by Plazmaz · Pull Request #662 · gitpython-developers/GitPython
X Title: Fix leaking environment variables by Plazmaz · Pull Request #662 · gitpython-developers/GitPython
Description: When cloning a repo, GitPython will leak environment variables in error messages. For instance, this code:
import git
repo = git.Repo('https://www.github.com/Plazmaz/${PATH}')
repo.clone('testrepo/$PATH')
will output something like:
Traceback (most recent call last):
File "test.py", line 2, in
Open Graph Description: When cloning a repo, GitPython will leak environment variables in error messages. For instance, this code: import git repo = git.Repo('https://www.github.com/Plazmaz/${PATH}') repo.clone(...
X Description: When cloning a repo, GitPython will leak environment variables in error messages. For instance, this code: import git repo = git.Repo('https://www.github.com/Plazmaz/${PATH}') repo....
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/662
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:638d1497-1ff5-1656-6fef-f2639b14e0b7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AAAE:2650F9:55F35:6FBA8:6968BEE5 |
| html-safe-nonce | 5497be09baa88ef0e0c329204a0e3e873c0e62bd71fb466364c84723e628be4b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUFFOjI2NTBGOTo1NUYzNTo2RkJBODo2OTY4QkVFNSIsInZpc2l0b3JfaWQiOiIyNzQ1NzUyMTg0NDE2NjgxNzAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 02d631f372fa469c850dfb24deb03bee4efda7ae2f24b4d6c55ad108521346c0 |
| hovercard-subject-tag | pull_request:136807598 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/662/files |
| twitter:image | https://avatars.githubusercontent.com/u/1331014?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1331014?s=400&v=4 |
| og:image:alt | When cloning a repo, GitPython will leak environment variables in error messages. For instance, this code: import git repo = git.Repo('https://www.github.com/Plazmaz/${PATH}') repo.clone(... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdc7c66bd36a6c12eb8e771e806db863266e573fc299e77f27505a768d4f8a98 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3223a6503d318917691422cdadfbe16cd8fb21e5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width