Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/RelNotes/2.7.6.adoc # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / RelNotes / 2.7.6.adoc` 25 lines ยท 951 bytes Raw Blame History 1 Git v2.7.6 Release Notes 2 ======================== 3 4 Fixes since v2.7.5 5 ------------------ 6 7 * A "ssh://..." URL can result in a "ssh" command line with a 8 hostname that begins with a dash "-", which would cause the "ssh" 9 command to instead (mis)treat it as an option. This is now 10 prevented by forbidding such a hostname (which will not be 11 necessary in the real world). 12 13 * Similarly, when GIT_PROXY_COMMAND is configured, the command is 14 run with host and port that are parsed out from "ssh://..." URL; 15 a poorly written GIT_PROXY_COMMAND could be tricked into treating 16 a string that begins with a dash "-". This is now prevented by 17 forbidding such a hostname and port number (again, which will not 18 be necessary in the real world). 19 20 * In the same spirit, a repository name that begins with a dash "-" 21 is also forbidden now. 22 23 Credits go to Brian Neel at GitLab, Joern Schneeweisz of Recurity 24 Labs and Jeff King at GitHub. 25