Replies: 1 comment
-
Hello @gutley ! Do you want to open this as a GitHub ticket? Could be a "feature-request". Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently, a customer of ours has been complaining that on a specific website they are unable to download files. Clicking the download link ends up with nothing happening. Unfortunately the site is behind a login so I can't give you an offending url.
But I have tracked the problem down to this code in DownloadHelper.init:
By restoring the commented out code, the site now works as expected and the user is asked if they want to download the file.
Looking at the referenced bug 1474339 we see this as the reason for this change:
To provide a better end-user experience on mobile, we should try to more closely resemble Safari's behavior and not automatically trigger a download even when files are served up with the
Content-Disposition: attachment
HTTP header.However, things have moved on in the 5 years since this change was made and Safari does now trigger a download for
Content-Disposition: attachment
. So does Chrome.Please can we reconsider whether this code should be reverted.
Beta Was this translation helpful? Give feedback.
All reactions