diff options
author | Stephen Sachs <stephenmsachs@gmail.com> | 2022-07-28 11:24:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 09:24:19 +0000 |
commit | 584cc47fb31c3f312779185a7532c6e0c0ce48d0 (patch) | |
tree | f7dfe4a94d0ddad1743753c87ef62d6c6876563e /.gitattributes | |
parent | 2dd4795f56690ea5ced8527bdfd716f625735a11 (diff) | |
download | spack-584cc47fb31c3f312779185a7532c6e0c0ce48d0.tar.gz spack-584cc47fb31c3f312779185a7532c6e0c0ce48d0.tar.bz2 spack-584cc47fb31c3f312779185a7532c6e0c0ce48d0.tar.xz spack-584cc47fb31c3f312779185a7532c6e0c0ce48d0.zip |
Fix parsing of clean_url (#31783)
In #31618 the idea was to determine the file extension heuristically by dropping query params etc from a url and then consider it as a file path. That broke for URLs that only have query params like http://example.com/?patch=x as it would result in empty string as basename. This PR reverts to the old behavior of saving files as ?patch=x in that case.
Co-authored-by: Stephen Sachs <stesachs@amazon.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions