phpmyadmin / phpmyadmin/phpmyadmin
Downloading a database with GZIP compression from PhpMyAdmin returns uncompressed files
@williamdes is already working on this.
Since Feb 21, 2022.
- Dominant language
- PHP
- Stars
- 7.9k
- Forks
- 3.6k
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 36
Description
Describe the bug
Since version 94.0.2 of Mozilla Firefox (64 bit) for Windows 10 64 bit, exporting a database with GZIP compression from PhpMyAdmin results in an uncompressed text file.
I report this bug to PhpMyAdmin because the ticket "https://bugzilla.mozilla.org/show_bug.cgi?id=1755324" on Firefox guides me to think about a PhpMyAdmin bug.
To Reproduce
Steps to reproduce the behavior:
- With "Mozilla Firefox" (version greater than or equal to 94.0.2, for example 97.0.1) go to 'https://demo.phpmyadmin.net/STABLE/'.
- On "Username:" field, insert 'root'. Press 'Go'.
- Click on a database (for example 'egzamin ') and then in the top bar click 'Export'.
- On "Export method:" select "Custom - display all possible options".
- On "Compression:" select "gzipped".
- Click "Go" at the bottom right of the page.
- Save the file and then read with notepad (with notepad++ is more easy), it is result in .SQL format and not in compressed GZIP format.
Expected behavior
The saved file must be a GZIP compressed .SQL file.
Server configuration
- Web server: "nginx/1.14.2" ("https://demo.phpmyadmin.net/STABLE/")
- PHP version: 7.4.27.
- phpMyAdmin version: 5.1.3 (Git revision: f27346c from STABLE branch).
Client configuration
- Browser: Mozilla Firefox 97.0.1
- Operating system: Windows 10 Pro 21H2 64 bit.
Additional context
As I indicated in "### Describe the bug", I report this bug to PhpMyAdmin because the ticket "https://bugzilla.mozilla.org/show_bug.cgi?id=1755324" on Firefox guides me to think about a PhpMyAdmin bug.
It is strange that with the previous versions of Mozilla Firefox 94.0.2 the export worked correctly.
Thanks.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.