Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quote URLs in Repo.clone_from() #1516

Commits on Dec 20, 2022

  1. Forbid unsafe protocol URLs in Repo.clone{,_from}()

    Since the URL is passed directly to git clone, and the remote-ext helper
    will happily execute shell commands, so by default disallow URLs that
    contain a "::" unless a new unsafe_protocols kwarg is passed.
    (CVE-2022-24439)
    
    Fixes gitpython-developers#1515
    s-t-e-v-e-n-k committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    24215ac View commit details
    Browse the repository at this point in the history
  2. Trim down list of python-version

    With a large number of the versions of Python specified not being
    supported with GitHub Actions, trim it down to the major versions, and
    add in 3.11 for good measure.
    s-t-e-v-e-n-k committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    ce529b9 View commit details
    Browse the repository at this point in the history