pause icon indicating copy to clipboard operation
pause copied to clipboard

HTTP "fetch a file from a URL" needs to follow redirect

Open dagolden opened this issue 11 years ago • 1 comments

Per email, I observed that PAUSE downloads a corrupt tarball from a Dropbox share URL.

When testing that URL manually, a redirect is required to retrieve the tarball.

dagolden avatar Jul 20 '14 17:07 dagolden

PAUSE appears to handle redirects fine.

This worked: http://hiddenrealms.org/redirect-me/CPAN-Test-Dummy-alh-test-0.09.tar.gz (which redirects to http://hiddenrealms.org/CPAN-Test-Dummy-alh-test-0.09.tar.gz)

What I noticed when I tried this from DropBox (https://www.dropbox.com/s/bo1g3wbjex3zg6l/CPAN-Test-Dummy-alh-test-0.09.tar.gz?dl=1) is that the file was entered in as:

CPAN-Test-Dummy-alh-test-0.09.tar.gzdl1 (the query parameters were appended to the filename). The md5sum of the file was still correct though.

Then, mldiswatch attempted to pick up the file, but I think it said "gzdl1 is not a valid extension, go away."

I'm not sure the logic of handling url downloads with query parameters is working right.

wolfsage avatar Apr 22 '16 09:04 wolfsage

Duplicate of #74

rjbs avatar Apr 28 '23 12:04 rjbs