Describe the bug The sign url like {host}/f/RO66yguR/TEST.jpg from redirected source should include filename if possible. For example, the ?attname=TEST.jpg for Qiniu KODO.
That's right. I didn t take this into consideration. Actually, when use link as a element of a html file, no matter if link contains parameters such as ?attname or not, the file won t be downloaded by the browser, but be displayed as a part. The situation you mentioned might be that some users want to open the link directly in the browser and preview it directly? For this situation, I suggest use similar solution in Onedrive, that is add the parameter download=1 at the end of the link to indicate direct download instead of preview.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
5条答案
按热度按时间rn0zuynd1#
Without this, when use the redirected source to download file, the filename will be the file key in the 3rd storage rather than as in the cloudreve.
btqmn9zl2#
Fixed in #1784 .
jpfvwuh43#
One problem is that some people expect previewing files directly via source links, (videos, audio, images), they don't want to download these files.
ds97pgxw4#
That's right. I didn t take this into consideration.
Actually, when use link as a element of a html file, no matter if link contains parameters such as
?attname
or not, the file won t be downloaded by the browser, but be displayed as a part. The situation you mentioned might be that some users want to open the link directly in the browser and preview it directly?For this situation, I suggest use similar solution in Onedrive, that is add the parameter
download=1
at the end of the link to indicate direct download instead of preview.zu0ti5jz5#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.