[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19840: "Bad uri header component" when downloading from gitorious.or
Mark H Weaver
bug#19840: "Bad uri header component" when downloading from gitorious.org
Thu, 19 Feb 2015 03:42:24 -0500
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)
Ricardo Wurmus <address@hidden> writes:
> Downloading archives from gitorious fails:
> ~/dev/guix $ ./pre-inst-env guix download
> starting download of `/tmp/guix-file.gqYdZs' from
> ERROR: Bad uri header component:
Guile's parsing and validation of HTTP "Location" headers was based on
the now obsolete RFC 2616 section 14.30, which required it to be an
absolute URI. However, RFC 7231 section 7.1.2 allows it to be any URI
reference, which can include relative URIs.
This will be fixed in Guile 2.0.12.
Additionally, the possibility of HTTP redirects to relative URIs
requires us to determine the target URI based on a relative URI and base
URI, using the algorithm described in RFC 3986 section 5.2.2.
I just pushed commit 04dec194d8 to master which resolves both of these
issues. I'm closing this bug now.