Re: [PATCH 5/5] git-daemon support for user-relative paths.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 21, 2005, 09:49 UTC
- Message-ID
- <7vbr0euy8n.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <7vfypquz88.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 6 quoted lines
> ...So I am thinking about applying something like this patch > on top of the last part of your patch. > > - Do validation only on canonicalized paths; > - Run upload-pack with "." as repo, not full path; > - allow trailing slash under --strict-paths i.e. "git://host/my/repo.git/"
Sorry, the last piece was totally unneeded; we are operating on return value from getcwd at this point.