author | Junio C Hamano <junkio@cox.net> | |
Fri, 18 Nov 2005 22:59:34 +0000 (14:59 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 20 Nov 2005 04:50:38 +0000 (20:50 -0800) | ||
commit | 0870ca7fabe6f25095431280e480859f7c66e8ab | |
tree | bd8c24b3a1b2fe52baa3c9474ea6cefec209bedf | tree | snapshot |
parent | 54f4b87454824fedc629219620ce9b7cdcab3d27 | commit | diff |
Do not DWIM in userpath library under strict mode.
This should force git-daemon administrator's job a bit harder
because the exact paths need to be given in the whitelist, but
at the same time makes the auditing easier.
This moves validate_symref() from refs.c to path.c, because we
need to link path.c with git-daemon for its "enter_repo()", but
we do not want to link the daemon with the rest of git libraries
and its requirements.
Signed-off-by: Junio C Hamano <junkio@cox.net>
This should force git-daemon administrator's job a bit harder
because the exact paths need to be given in the whitelist, but
at the same time makes the auditing easier.
This moves validate_symref() from refs.c to path.c, because we
need to link path.c with git-daemon for its "enter_repo()", but
we do not want to link the daemon with the rest of git libraries
and its requirements.
Signed-off-by: Junio C Hamano <junkio@cox.net>
path.c | diff | blob | history | |
refs.c | diff | blob | history |