On Tue, Oct 28, 2014 at 09:30:57AM +0100, Laurent Bigonville wrote: > Le Tue, 28 Oct 2014 09:26:12 +0100, > Etienne Millon <m...@emillon.org> a écrit : > > > tag 765074 + patch > > thanks > > > > Hi, > > > > The problem is that vagrant inserts a newline after the User-Agent > > header: > > > > HEAD /wheezy64.box HTTP/1.1 > > User-Agent: Vagrant/1.6.5 > > > > Host: vagrant.1024.lu > > Accept: application/json > > > > HTTP/1.1 400 Bad Request > > Date: Tue, 28 Oct 2014 08:03:46 GMT > > Server: Apache > > Vary: Accept-Encoding > > Connection: close > > Content-Type: text/html; charset=iso-8859-1 > > > > It comes from the VERSION string which contains a newline. > > Adding a ".chomp" call (see attached patch) resolves the issue. > > > > Note that this actually breaks every HTTP request so it makes vagrant > > barely useable. It works only if you downloaded an image with a > > previous version, or with file:// urls, so the severity should be > > raised IMHO. > > > > Cheers and thanks for taking care of Vagrant! > > > > Thanks for troubleshooting this!
Thanks indeed! > I've raised the severity of this bug to serious, this really needs to > be fixed before jessie release. Sure. I will work on it as soon as possible. -- Antonio Terceiro <terce...@debian.org>
signature.asc
Description: Digital signature