Bug: Download file loses the file extension
Status: RESOLVED
Priority: --
Resolution: DUPLICATE
Created: 2022-07-20 20:27:24+00:00
Resolved: 2024-09-11 03:47:20+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36

Steps to reproduce:

Visit a webpage for a download:
https://lotw.arrl.org/lotwuser/lotwreport.adi?qso_query=1&qso_withown=yes&qso_qslsince=2022-05-25&qso_owncall=&download_rpt_btn=Download+report

This page has been working for more than a decade, but users of Firefox 102.0.1 are reporting that it no longer saves the downloaded file as expected.

Request Headers:
{
        "GET": {
                "scheme": "https",
                "host": "lotw.arrl.org",
                "filename": "/lotwuser/lotwreport.adi",
                "query": {
                        "qso_query": "1",
                        "qso_withown": "yes",
                        "qso_qslsince": "2022-05-25",
                        "qso_owncall": "",
                        "download_rpt_btn": "Download report"
                },
                "remote": {
                        "Address": "104.207.196.18:443"
                }
        }
}
Response:
Response:
{
        "Response Headers (399 B)": {
                "headers": [
                        {
                                "name": "Accept-Ranges",
                                "value": "none"
                        },
                        {
                                "name": "Cache-Control",
                                "value": "max-age=0"
                        },
                        {
                                "name": "Connection",
                                "value": "Keep-Alive"
                        },
                        {
                                "name": "Content-Encoding",
                                "value": "gzip"
                        },
                        {
                                "name": "Content-Length",
                                "value": "455"
                        },
                        {
                                "name": "Content-Type",
                                "value": "application/x-arrl-adif; charset=iso-8859-1"
                        },
                        {
                                "name": "Date",
                                "value": "Wed, 20 Jul 2022 20:10:25 GMT"
                        },
                        {
                                "name": "Expires",
                                "value": "Wed, 20 Jul 2022 20:10:25 GMT"
                        },
                        {
                                "name": "Keep-Alive",
                                "value": "timeout=60"
                        },
                        {
                                "name": "Server",
                                "value": "Apache"
                        },
                        {
                                "name": "Strict-Transport-Security",
                                "value": "max-age=15552000; includeSubDomains;"
                        },
                        {
                                "name": "Vary",
                                "value": "Accept-Encoding"
                        }
                ]
        }
}



Actual results:

Downloaded file was saved as 'lotwreport'


Expected results:

The file should have been 'lotwreport.adi'