diff options
author | Mark H Weaver <mhw@netris.org> | 2015-02-18 19:33:10 -0500 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2015-02-19 03:32:22 -0500 |
commit | 04dec194d8e460831ec0695a944d9c7313affea2 (patch) | |
tree | 7b384927264e072da1211aff2a9c58b0ac606be1 /NEWS | |
parent | e92a4ad928e869e98043f1f4afc7df20666bbf02 (diff) | |
download | gnu-guix-04dec194d8e460831ec0695a944d9c7313affea2.tar gnu-guix-04dec194d8e460831ec0695a944d9c7313affea2.tar.gz |
download: Handle HTTP redirects to relative URI references.
Fixes <http://bugs.gnu.org/19840>.
Reported by Ricardo Wurmus <rekado@elephly.net>.
* guix/build/download.scm: On Guile 2.0.11 or earlier, redefine the http
"Location" header to accept relative URIs.
(resolve-uri-reference): New exported procedure.
(http-fetch): Use 'resolve-uri-reference' to resolve redirections.
* guix/http-client.scm (http-fetch): Use 'resolve-uri-reference'
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions