From: Mike Hommey Date: Thu, 09 Apr 2009 12:02:06 GMT Subject: Re: bug: git-http-push fails to validate email address in LOCK request Message-ID: <20090409120205.GA29046@glandium.org> In-Reply-To: <20090409111944.GA22297@kos.to> On Thu, Apr 09, 2009 at 02:19:44PM +0300, Riku Voipio wrote: > from http-push.c, we see that the lock request is: > > #define LOCK_REQUEST "\n\n\n\n\nmailto:%s\n\n" > > So there is exactly one variable being set. Turns out the email > address in .gitconfig was set to ''. Yes, > a user error. This was copied from $EMAIL env variable, where > using strings such as 'foo bar ' have been > a norm forever. That's the problem with generating XML by concatenating strings without checks :( Mike