From: Junio C Hamano Date: Mon, 21 Nov 2005 09:49:28 GMT Subject: Re: [PATCH 5/5] git-daemon support for user-relative paths. Message-ID: <7vbr0euy8n.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <7vfypquz88.fsf@assigned-by-dhcp.cox.net> Junio C Hamano writes: > ...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.