You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've seen many sites out there with things like this - http://www.vim.org/scripts/download_script.php?src_id=9750 and i think that naming things download_script.php would not be expected either.
Occassionally we get strange behavious where the filename during a
download is set to a strange value, because the original URL redirects
to a CDN which uses a different name. In these cases the response often
contains a content-disposition telling us the intended filename.
This PR reads the content-disposition and uses it for the filename when
it is available.
Fixes#1374
When I run this:
The result is:
When curling that URL you'll see that it redirects to another with a (random?) UUID for the name. Something that looks like this:
As a user I expect the file name to match the base name of the original URL, not the redirected one.
An alternative fix would be to allow volume mapping to rename
foo:bar
Source: https://filecoinproject.slack.com/archives/C02RLM3JHUY/p1669302839546539
The text was updated successfully, but these errors were encountered: