diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-06-08 18:59:25 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-06-08 19:07:58 +0200 |
commit | 93961f02987cf738d116cc85cc32d97c2a488222 (patch) | |
tree | 47cc031b698ec91833c7a5de9a3e9d0428130039 /scripts | |
parent | dc794a723809f0f28e49e4c32e8974b5b9a98ff0 (diff) | |
download | patches-93961f02987cf738d116cc85cc32d97c2a488222.tar patches-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 'scripts')
0 files changed, 0 insertions, 0 deletions