From: Johannes Schindelin Date: Mon, 16 Sep 2019 11:26:40 +0000 (+0200) Subject: Merge branch 'win32-filenames-cannot-have-trailing-spaces-or-periods' X-Git-Tag: v2.24.1~1^2~1^2~1^2~3^2~3^2~1^2~1^2~2^2~2^2~2^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=65d30a19de282d781c59bb7f807459cb5b29de1e;p=thirdparty%2Fgit.git Merge branch 'win32-filenames-cannot-have-trailing-spaces-or-periods' On Windows, filenames cannot have trailing spaces or periods, when opening such paths, they are stripped automatically. Read: you can open the file `README` via the file name `README . . .`. This ambiguity can be used in combination with other security bugs to cause e.g. remote code execution during recursive clones. This patch series fixes that. Signed-off-by: Johannes Schindelin --- 65d30a19de282d781c59bb7f807459cb5b29de1e