Title: fix: block joined short unsafe clone options by Byron · Pull Request #2162 · gitpython-developers/GitPython · GitHub
Open Graph Title: fix: block joined short unsafe clone options by Byron · Pull Request #2162 · gitpython-developers/GitPython
X Title: fix: block joined short unsafe clone options by Byron · Pull Request #2162 · gitpython-developers/GitPython
Description: Tasks refackiew @EliahKagan review, and particularly to check if this would sufficiently resolve the advisory. To me it seems so. Advisory URL: GHSA-v396-v7q4-x2qj GHSA ID: GHSA-v396-v7q4-x2qj Severity: high Affected package: GitPython Vulnerable range: = 3.1.50 Patched versions: unreleased at time of writing Changes Normalize short-form clone options with attached values for unsafe-option checks in Git._canonicalize_option_name, so inputs like -u/tmp/helper and -cprotocol.ext.allow=always are correctly classified as -u and -c. Added regression coverage for joined short -u... and -c... bypass forms in test_clone_unsafe_options and test_clone_from_unsafe_options. Added explicit unsafe-option canonicalization assertions in test_check_unsafe_options_normalizes_kwargs. Created by Codex on behalf of Byron. Byron will review before this is ready to merge. Validation gh pr checks 2162 --watch completed successfully (latest run on this PR head). Codex review run for commit 2568f2b7.
Open Graph Description: Tasks refackiew @EliahKagan review, and particularly to check if this would sufficiently resolve the advisory. To me it seems so. Advisory URL: GHSA-v396-v7q4-x2qj GHSA ID: GHSA-v396-v7q4-x2q...
X Description: Tasks refackiew @EliahKagan review, and particularly to check if this would sufficiently resolve the advisory. To me it seems so. Advisory URL: GHSA-v396-v7q4-x2qj GHSA ID: GHSA-v396-v7q4-x2q...
Opengraph URL: https://github.com/gitpython-developers/GitPython/pull/2162
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d76b951b-c543-dd44-dc0e-7a4addde689a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BAA8:103DBC:1E48AD7:28A0737:6A5986EA |
| html-safe-nonce | 59175f1e0170be13c202d947aca6cef856ce8df2ea8e99bb579070a24bce0549 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUE4OjEwM0RCQzoxRTQ4QUQ3OjI4QTA3Mzc6NkE1OTg2RUEiLCJ2aXNpdG9yX2lkIjoiMjg5NzUwMDQyNzA0MTQ3NDI4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6be4ce2716a0be54d0781e911d96f5093ef0acc79cd795bdbbe347a594370b98 |
| hovercard-subject-tag | pull_request:3880681276 |
| 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/2162/files |
| twitter:image | https://avatars.githubusercontent.com/u/63622?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/63622?s=400&v=4 |
| og:image:alt | Tasks refackiew @EliahKagan review, and particularly to check if this would sufficiently resolve the advisory. To me it seems so. Advisory URL: GHSA-v396-v7q4-x2qj GHSA ID: GHSA-v396-v7q4-x2q... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a540949572872b935b393b36db38922db390ae71c859537d741b8f3eb7e545b5 |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 624bb50a7497aa346bef8cc3743af408a9ea10ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width