Download arrives as .BIN file


file download should be .MP3
Hello,This is super low priority and I am not able to reproduce this error. I tested on windows10 & android cell phone and it works as expected.
I have a page here: News archive - Nandalow
Featuring a MP3 file people can download or stream and for me all work great for me as expected and about 80 other people on various devices all reports works good but one user just contacted me and said the file download as a .BIN extension.
He is using a cellphone (Samsung Galaxy A30)
He renamed the file to MP3 and everything works he says.
I would think this situation is super rare but wanted to report it in case anyone else has the same issue
cheers
stevyn
Publisher of IronFeather Journal since 1987. Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


HTTP headers:
Code
Content-Disposition
attachment; filename="FIREFLY-Serenity-MIX-2007.mp3"
Content-Type
application/octet-stream; authoritative=true;
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


I posted the link : News archive - Nandalow
on facebook in a firefly tv show discussion group and invited readers to go to my link for the mp3
he replied to me that he was using the "Facebook Mobile Browser" on his cellphone, the Samsung Galaxy A30.
So I am not sure exactly what the FB mobile browser is as I dont use it so unsure how it could extract it as a BIN.
Stevyn
Publisher of IronFeather Journal since 1987. Host of KGNU Colorado Radio for 20 years.
Currently in Japan & decided to focus on Composr as my number one CMS.
Composr site for community of Hokkaido: Nandalow.com
Composr site for my freelance work: Futurecode.jp
My Compsr edits : http://ironfeather.com/bbs/viewtopic.php?f=12&t=2862
Twitter: https://twitter.com/futurecodejp


However I think it is an old Android bug whereby it uses .bin when it is not parsing the Content-Type header properly.
Android and the HTTP download file headers | DigiBlog
We have a semicolon on the end of the content-type header that should not really be there, but isn't really a problem except here.
The linked topic talks about Android 4, which is very old – but my guess is the issue is replicated in Facebook's inbuilt browser, probably based on the original Android Browser.
I'll post a hotfix based on this theory. I don't want to go test this as it would take me a while to try and reproduce.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.


Automated fix message
This issue has now been filed on the tracker as issue #4629, with a fix.ironfeather said
Hello,
This is super low priority and I am not able to reproduce this error. I tested on windows10 & android cell phone and it works as expected.
I have a page here: News archive - Nandalow
Featuring a MP3 file people can download or stream and for me all work great for me as expected and about 80 other people on various devices all reports works good but one user just contacted me and said the file download as a .BIN extension.
He is using a cellphone (Samsung Galaxy A30)
He renamed the file to MP3 and everything works he says.
I would think this situation is super rare but wanted to report it in case anyone else has the same issue
cheers
stevyn