Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up"Download picture" downloaded file has a wrong .vcf extension (Firefox only) #20143
Comments
|
I cannot reproduce. Works fine here. |
|
Heh, indeed works with Chromium for me as well. Seems to be a Firefox issue as I can reproduce it on my personal instance, the company instance, as well as on local dev env. |
|
Then it's an issue for server header('Content-Disposition: attachment; filename="'.$_SESSION['name'].'.txt"');
https://stackoverflow.com/questions/9246905/variable-php-download-header-file-name |
|
@skjnldsv how should we move forward then – transfer the issue to server, loop someone else it, or anything else? |
|
I guess adding the filename in the |
|
@skjnldsv Hi , anyone working on this? |
|
Nope, go for it @deepank120896 :) |

To Reproduce
Steps to reproduce the behavior:
Expected behavior
The picture is opened.
Actual behavior
Because the file is called
Some ID.vcf, it is opened with the text editor and just shows jumbled characters.Changing the extension to
.jpgfixes the issue.Happens with latest master and happened some weeks before too.