Comparing 3.1.54...3.1.55 · gitpython-developers/GitPython
Repository navigation
PermalinkComparing changes
Choose two branches to see what's changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons .Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here .base repository: gitpython-developers/GitPython
base: 3.1.54
...
head repository: gitpython-developers/GitPython
compare: 3.1.55
- 3 commits
- 6 files changed
- 2 contributors
Commits on Jul 22, 2026
-
fix: prevent environment expansion in remote URLs
Remote and submodule creation expanded environment-variable references in caller-supplied URLs before storing them in Git configuration. This could expose process environment values through a later network request or a tracked .gitmodules file. Preserve variables literally in the remaining untrusted URL callers while retaining Git.polish_url() expansion for intentional local-path normalization. Add regression tests covering remote configuration and submodule configuration. Git baseline: git remote add and git submodule add accept URL arguments literally; Git does not perform shell-style environment expansion on those arguments. Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>
codex and Byron committed Jul 22, 2026 7 Configuration menu Copy the full SHA
8634174
View commit details Browse the repository at this point in the history -
Merge pull request #2181 from gitpython-developers/fix-env-var-exfilt...
...ration fix: prevent environment expansion in remote URLs
Byron authored Jul 22, 2026 Configuration menu Copy the full SHA
e227e01
View commit details Browse the repository at this point in the history