diff options
author | John W. Parent <45471568+johnwparent@users.noreply.github.com> | 2022-06-04 18:06:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-04 15:06:43 -0700 |
commit | 13b0e73a4eed301a75465ef5f1ef8980f4621605 (patch) | |
tree | 278a7b97a9752b2e3fcad2ded787ab340f6b07af /.gitignore | |
parent | 03c54aebdd914ada16925db7ca455132c45b8a45 (diff) | |
download | spack-13b0e73a4eed301a75465ef5f1ef8980f4621605.tar.gz spack-13b0e73a4eed301a75465ef5f1ef8980f4621605.tar.bz2 spack-13b0e73a4eed301a75465ef5f1ef8980f4621605.tar.xz spack-13b0e73a4eed301a75465ef5f1ef8980f4621605.zip |
Sanitize filepath from URL (#30625)
Spack's staging logic constructs a file path based on a URL. The URL
may contain characters which are not allowed in valid file paths on
the system (e.g. Windows prohibits ':' and '?' among others). This
commit adds a function to remove such offending characters (but
otherwise preserves the URL string when constructing a file path).
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions