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
Today I got an issue with Firefox browser during file download through class FileDownload. This browser loses file extension after download when user uses the option to save file.
After some inspections at class mentioned above, I found what caused this 'bug'. At InputStreamDownload class at line 68, the correct expression for header would be:
Hi there,
Today I got an issue with Firefox browser during file download through class
FileDownload
. This browser loses file extension after download when user uses the option to save file.After some inspections at class mentioned above, I found what caused this 'bug'. At
InputStreamDownload
class at line 68, the correct expression for header would be:Content-Disposition: attachment; filename="my-file.pdf'"
On that line, the expression is (wrong):
Content-Disposition: attachment; filename=my-file.pdf'
This one, works as expect for others browsers too, but, only on Firefox the file saved wont have his extension, forcing user to add his extension.
PS: It's a file without extension (unknown file extension) not about Windows option for hide it.
The text was updated successfully, but these errors were encountered: