diff options
author | Edward Thomson <ethomson@microsoft.com> | 2014-12-10 19:12:16 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2014-12-17 14:59:18 -0600 |
commit | 65f43057a2d8316f15a233fe345524ef6dbcac08 (patch) | |
tree | 2da63af88e5dd6c5f938f36c16120ed5e3034a16 /src/commit.c | |
parent | 492bcd082539e83acf8bb301761e3f0bb51d397e (diff) | |
download | libgit2-65f43057a2d8316f15a233fe345524ef6dbcac08.tar.gz |
checkout: disallow bad paths on HFS
HFS filesystems ignore some characters like U+200C. When these
characters are included in a path, they will be ignored for the
purposes of comparison with other paths. Thus, if you have a ".git"
folder, a folder of ".git<U+200C>" will also match. Protect our
".git" folder by ensuring that ".git<U+200C>" and friends do not match it.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions