-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download menu entry doesn't work on Firefox #4248
Comments
Thanks @sylvestre for reporting this! It's also worth nothing that no error is logged in the console, unfortunately. |
Just tried it and it worked. |
Interesting. It didn't seem to do anything for me on Chrome at first (using Now it seems to work fine in Chrome, but I still can't get it to work in Firefox Nightly. |
With bad internet I see quite a delay in Chrome between "Click Download" and the actual download starting (in Chrome UI). Also, Download does not work in Firefox (no log output in either frontend nor backend). |
This commit Fixes eclipse-theia#4754 and eclipse-theia#4248. It uses express' own attachement method and parses the content-disposition reliably and decodes the filename if possible. This also fixes the downloading on firefox by appending the anchor link to the body before triggering the click event and removes it after. Signed-off-by: Uni Sayo <unibtc@gmail.com>
This commit Fixes eclipse-theia#4754 and eclipse-theia#4248. It uses express' own attachement method and parses the content-disposition reliably and decodes the filename if possible. This also fixes the downloading on firefox by appending the anchor link to the body before triggering the click event and removes it after. Signed-off-by: Uni Sayo <unibtc@gmail.com> use encodeUriComponent and decodeUriComponent Signed-off-by: Uni Sayo <unibtc@gmail.com>
This commit Fixes #4754 and #4248. It uses express' own attachement method and parses the content-disposition reliably and decodes the filename if possible. This also fixes the downloading on firefox by appending the anchor link to the body before triggering the click event and removes it after. Signed-off-by: Uni Sayo <unibtc@gmail.com> use encodeUriComponent and decodeUriComponent Signed-off-by: Uni Sayo <unibtc@gmail.com>
This commit Fixes eclipse-theia#4754 and eclipse-theia#4248. It uses express' own attachement method and parses the content-disposition reliably and decodes the filename if possible. This also fixes the downloading on firefox by appending the anchor link to the body before triggering the click event and removes it after. Signed-off-by: Uni Sayo <unibtc@gmail.com> use encodeUriComponent and decodeUriComponent Signed-off-by: Uni Sayo <unibtc@gmail.com> Signed-off-by: Doron Nahari doron.nahari@sap.com
Steps to reproduce:
Download
menu entryExpected behavior:
Actual behavior:
The text was updated successfully, but these errors were encountered: