guix-devel/guix
Mark H Weaver 04dec194d8 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'
2015-02-19 03:32:22 -05:00
..
build download: Handle HTTP redirects to relative URI references. 2015-02-19 03:32:22 -05:00
build-system build-system/perl: Use Build.PL for builds if present. 2015-02-18 23:53:46 -06:00
import import: cpan: Use cpan mirror url. 2015-02-18 23:53:46 -06:00
scripts lint: handle FTP URIs. 2015-02-10 00:24:30 +01:00
base32.scm Update license headers. 2013-01-06 00:47:50 +01:00
base64.scm base64: Inline arithmetic operations. 2015-01-09 01:01:04 +01:00
build-system.scm build-system: Bags record their system and target. 2014-10-05 21:58:42 +02:00
config.scm.in build: Change state and log directories to $localstatedir/.../guix. 2014-03-09 22:10:01 +01:00
cvs-download.scm Add support for 'cvs-fetch' method in origins. 2015-02-04 01:51:20 -05:00
derivations.scm gexp: Implement 'imported-modules' & co. using 'gexp->derivation'. 2015-02-13 17:28:19 +01:00
download.scm gnu: Add R. 2015-02-16 16:35:41 +01:00
elf.scm Add (guix elf). 2014-11-28 00:10:28 +01:00
ftp-client.scm ftp-client: Add missing CR in "USER" command. 2014-05-03 00:46:51 +02:00
gcrypt.scm Add (guix gcrypt). 2015-01-26 21:58:12 +01:00
gexp.scm gexp: Add #:graft? parameter to 'gexp->derivation'. 2015-02-13 23:19:49 +01:00
git-download.scm packages: Convert source derivations to monadic style. 2015-01-14 14:42:10 +01:00
gnu-maintenance.scm gnu-maintenance: Support .zip files. 2014-11-29 22:34:59 +01:00
gnupg.scm gnupg: Correctly parse current 'SIG_ID' lines. 2014-09-24 19:08:03 +02:00
hash.scm hash: Initialize libgcrypt before use. 2015-01-26 21:58:12 +01:00
http-client.scm download: Handle HTTP redirects to relative URI references. 2015-02-19 03:32:22 -05:00
licenses.scm guix: licenses: Add Artistic 2.0 license. 2015-02-18 23:53:46 -06:00
monad-repl.scm monads: Move '%store-monad' and related procedures where they belong. 2015-01-14 13:34:52 +01:00
monads.scm doc: Document '%state-monad' and update '%store-monad' description. 2015-01-17 23:45:48 +01:00
nar.scm nar: Read archive signatures as Latin-1 strings. 2015-01-18 22:19:04 +01:00
packages.scm packages: Add 'set-grafting' procedure. 2015-02-13 23:19:49 +01:00
pk-crypto.scm Add (guix gcrypt). 2015-01-26 21:58:12 +01:00
pki.scm pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'. 2014-04-04 00:23:17 +02:00
profiles.scm profiles: Report "pseudo-upgrades" as upgrades, not downgrades. 2015-02-09 18:18:41 +01:00
records.scm records: Add support for delayed fields. 2015-01-19 23:30:42 +01:00
serialization.scm serialization: Check for EOF and incomplete input conditions. 2015-02-07 23:16:55 +01:00
sets.scm Add (guix sets). 2015-01-11 23:50:01 +01:00
store.scm store: Add optional 'references' parameter to 'text-file'. 2015-02-12 23:43:18 +01:00
svn-download.scm Remove outdated comment from svn-fetch. 2015-02-04 00:14:37 -05:00
tests.scm tests: Add missing import. 2015-02-13 23:19:49 +01:00
ui.scm profiles: Distinguish downgrades from upgrades. 2015-02-08 19:00:39 +01:00
utils.scm utils: Add 'version>=?'. 2015-02-09 18:18:41 +01:00