diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2019-08-08 16:43:15 +0200 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2019-09-26 17:48:08 +0200 |
commit | dec845606d2d184da31065fa26cd951b84b3ce2d (patch) | |
tree | 1e57f8faccfc8a133326fc5155fe25e2b019773e /gnu/build/marionette.scm | |
parent | 6eb1d20b682d1256bb4561517daa616b15fec22b (diff) | |
download | guix-dec845606d2d184da31065fa26cd951b84b3ce2d.tar.gz guix-dec845606d2d184da31065fa26cd951b84b3ce2d.zip |
guix download: Ensure destination file-name is valid in the store.
Avoid invalid store-file-name by explicitly passing the destination
name, replacing any character not allowed in the store-file-name by an
underscore.
Fixes <http://issues.guix.gnu.org/issue/26175>
* guix/scripts/download.scm (safe-naensure-valid-store-file-nameme):
New function. (download-to-store*): Use it to generate a "safe"
basename of URL.
Diffstat (limited to 'gnu/build/marionette.scm')
0 files changed, 0 insertions, 0 deletions