summary refs log tree commit diff
path: root/tests/challenge.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-06-08 18:59:25 +0200
committerLudovic Courtès <ludo@gnu.org>2016-06-08 19:07:58 +0200
commit93961f02987cf738d116cc85cc32d97c2a488222 (patch)
tree47cc031b698ec91833c7a5de9a3e9d0428130039 /tests/challenge.scm
parentdc794a723809f0f28e49e4c32e8974b5b9a98ff0 (diff)
downloadguix-93961f02987cf738d116cc85cc32d97c2a488222.tar.gz
publish: Encore URIs that appear in narinfos.
Fixes <http://bugs.gnu.org/21888>.
Reported by iyzsong@member.fsf.org (宋文武).

* guix/scripts/publish.scm (narinfo-string): Use
'encode-and-join-uri-path' instead of 'string-append' to compute URL.
* tests/publish.scm ("/*.narinfo with properly encoded '+' sign"):
("/nar/ with properly encoded '+' sign"): New tests.
Diffstat (limited to 'tests/challenge.scm')
0 files changed, 0 insertions, 0 deletions