Closed Bug 1755324 Opened 4 years ago Closed 4 years ago

The download of a compressed database from mysql.aruba.it returns uncompressed files

Categories

(Core :: Networking: HTTP, defect)

Firefox 97
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: posta.spam, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

I open the page "https://mysql.aruba.it", download a database by setting the "Compression:" parameter to the value "Compressed with gzip" (a .sql file is created in real time and compressed and the download starts)

The mysql page also relies on "Percona Server" (5.5.62-38.14-log - Percona Server (GPL), Release 38.14, Revision 7e0e1cc).

Actual results:

The downloaded file has a .gz extension but contains the uncompressed starting file.

Expected results:

The downloaded file had to be the compressed starting file in .gz format.
With other browsers, the problem does not actually exist.

The Bugbug bot thinks this bug should belong to the 'Firefox::File Handling' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → File Handling

I don't have time to investigate myself (unclear if I could without a login?) but off-hand this looks like a duplicate of bug 1742629 - ie your server is probably claiming that it is sending us a gz file but also saying that the content is encoded as gzip, leading to the http layer decompressing it. Over to http networking component for remaining triage.

Component: File Handling → Networking: HTTP
Product: Firefox → Core
See Also: → 1742629

(In reply to :Gijs (away until Feb 21; he/him) from comment #2)

ie your server is probably claiming that it is sending us a gz file but also saying that the content is encoded as gzip, leading to the http layer decompressing it.

That seems quite likely.
@reporter: If you still think this is a bug in Firefox, can you share a reproducible testcase? Otherwise, could you open the Network Monitor when downloading the files, click the ⚙️ icon, export the content as HAR and share that with us? Thanks!

Flags: needinfo?(posta.spam)

Hello,
Thanks :Gijs and Valentin Gosu for the answers.
As described by the bug "1742629", I tried to connect to "https://demo.phpmyadmin.net/STABLE/" and export the database "egzamin". The file is saved in ".sql.gz" which cannot be opened with GZIP (in fact it remained of type .sql, not compressed) just like it happens on "mysql.aruba.it".

Before opening a ticket with you, I had already asked Aruba technical support if they could fix this problem and they replied "... I would like to inform you that the bug found is in Firefox (inherent in the browser) ... ".
Now I will proceed to open a ticket (after looking if it is already known) to PhpMyAdmin since both "mysql.aruba.it" and "https://demo.phpmyadmin.net/STABLE/" rely on PhpMyAdmin.

Thank you.
Davide.

Flags: needinfo?(posta.spam)

Thank you David. Please link this bug report in your ticket to phpMyAdmin.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID

Hello Valentin Gosu,
I proceeded to create on PhpMyAdmin support, the issue "https://github.com/phpmyadmin/phpmyadmin/issues/17413".
In the meantime I have found that this problem start from Mozilla Firefox version 94.0.2. With previous versions it didn't give problems.
Thanks.

See Also: → 1846117
You need to log in before you can comment on or make changes to this bug.