summaryrefslogtreecommitdiff
path: root/local-fetch.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2005-10-18 18:26:52 -0700
committerJunio C Hamano <junkio@cox.net>2005-10-18 18:26:52 -0700
commit3e04c62daab0a8481f907c30414ed246f284a1d9 (patch)
tree8dde448c56556960a665ca2a8d58458e3d318c95 /local-fetch.c
parent5e5f8091e5c9b4f09ad4019c8fddbf25fd2ccbe9 (diff)
downloadgit-3e04c62daab0a8481f907c30414ed246f284a1d9.tar.gz
revised^2: git-daemon extra paranoia, and path DWIM
This patch adds some extra paranoia to the git-daemon filename test. In particular, it now rejects pathnames containing //; it also adds a redundant test for pathname absoluteness (belts and suspenders.) A single / at the end of the path is still permitted, however, and the .git and /.git append DWIM stuff is now handled in an integrated manner, which means the resulting path will always be subjected to pathname checks. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'local-fetch.c')
0 files changed, 0 insertions, 0 deletions