Skip to content

Chokes on URL with + sign

Doing

ghcup install ghc -u "https://gitlab.haskell.org/api/v4/projects/1/jobs/1129565/artifacts/ghc-x86_64-linux-alpine3_12-validate+fully_static.tar.xz" mr7847

I get an error:

[ Error ] Download failed: Process "curl" with arguments ["-fL", "-o",
[ ...   ]                                                 "/home/artem/.ghcup/tmp/ghcup-5295ff1124c7a668/ghc-x86_64-linux-alpine3_12-validate fully_static.tar.x.tmp",
[ ...   ]                                                 "https://gitlab.haskell.org/api/v4/projects/1/jobs/1129565/artifacts/ghc-x86_64-linux-alpine3_12-validate%20fully_static.tar.xz"] failed with exit code 22.

Notice how URL got changed: instead of + I now have a %20.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information