View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000385 | file | General | public | 2022-09-27 10:10 | 2022-09-27 19:26 |
Reporter | saltedcoffii | Assigned To | christos | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | Arch Linux | OS Version | rolling |
Product Version | 5.43 | ||||
Fixed in Version | 5.44 | ||||
Summary | 0000385: Anki APKG files are not recognized separately from ZIP files | ||||
Description | Anki (ankiweb.net) APKG files are compressed ZIP archives with exported flash card information, so that flash card sets from the app can be shared. From what I understand, libmagic sees the ZIP magic bytes and identifies it as a ZIP file, however this failure to recognize an APKG files has implications: on GNOME, double-clicking on an APKG file does not import the flash cards to Anki, if it is installed (expected behavior) but instead opens the archive in an archive manager, such as file-roller. | ||||
Steps To Reproduce | 1. Download any APKG file (many are available here https://ankiweb.net/shared/decks/) 2. run `file -mime-type <your filename>.apkg` and observe mimetype is not `application/x-apkg` but is `application/zip` | ||||
Tags | filename, magic, zip | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2022-09-27 10:10 | saltedcoffii | New Issue | |
2022-09-27 10:10 | saltedcoffii | Tag Attached: filename | |
2022-09-27 10:10 | saltedcoffii | Tag Attached: magic | |
2022-09-27 10:10 | saltedcoffii | Tag Attached: zip | |
2022-09-27 19:26 | christos | Assigned To | => christos |
2022-09-27 19:26 | christos | Status | new => assigned |
2022-09-27 19:26 | christos | Status | assigned => resolved |
2022-09-27 19:26 | christos | Resolution | open => fixed |
2022-09-27 19:26 | christos | Fixed in Version | => 5.44 |
2022-09-27 19:26 | christos | Note Added: 0003821 |