Ludovic Courtès a7a3b39060
substitute: Gracefully handle trailing slashes in URLs.
Previously, using something like
"--substitute-urls=http://example.org///" would lead to a
'cache-narinfo!' call with #f as its second argument.

It would also do the wrong thing for URLs with a non-empty initial path
component, such as "http://example.org/foo/bar".

* guix/scripts/substitute.scm (fetch-narinfos)[handle-narinfo-response]:
Add call to 'basename' for PATH.
2016-07-14 19:07:07 +02:00
..
2015-01-26 21:58:12 +01:00
2016-05-24 00:06:01 +02:00
2016-03-31 01:40:30 -04:00
2015-09-04 18:31:06 +02:00
2015-01-11 23:50:01 +01:00