Bad download of symbolic links in artificats
Summary
When trying to download a file from an artifact which is a symbolic link, I get a text file with the name of the linked file instead of the linked file itself.
E.g. https://gitlab.com/ensc/test-ci-dl/-/jobs/180921745/artifacts/file/out/bar points to "foo" with content expected content
. But clicking "download" creates the file "bar" with content foo
.
Steps to reproduce
-
create artifacts containing symlinks; e.g. https://gitlab.com/ensc/test-ci-dl/blob/master/.gitlab-ci.yml
-
try to download a file from the artifact
Example Project
https://gitlab.com/ensc/test-ci-dl
What is the current bug behavior?
Text file with name of linked file will be downloaded.
What is the expected correct behavior?
The linked file will be downloaded