View Issue Details

IDProjectCategoryView StatusLast Update
0000691fileGeneralpublic2025-11-19 11:36
Reporternikolar Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
PlatformLinuxOSArtix LinuxOS Versionrolling release
Product Version5.46 
Summary0000691: libmagic detectes an epub file as a zip file which breaks an ebook reader
Descriptionfile/libmagic detects an epub file as a regular zip archive
Steps To Reproducefile test.epub
(I am not sure if am can freely redistribute this file, but if you want to test, let me know and i'll send you)
Tagszip

Activities

christos

2025-11-06 21:28

manager   ~0004309

can you send the output of unzip -l on it?

christos

2025-11-06 21:29

manager   ~0004310

the first file should be called mimetype with contents application/epub+zip

nikolar

2025-11-19 11:35

reporter   ~0004314

sorry for the somewhat late reply, here you go:

Archive: book.epub
  Length Date Time Name
--------- ---------- ----- ----
        0 2025-02-22 22:02 META-INF/
      259 2025-01-25 16:16 META-INF/container.xml
       20 2025-01-25 16:16 mimetype
        0 2025-02-22 22:02 OEBPS/
     8666 2025-02-22 22:44 OEBPS/content.opf
        0 2025-02-22 22:42 OEBPS/Images/
   826740 2025-02-22 18:30 OEBPS/Images/Afterword.jpg
  4438410 2025-02-22 18:30 OEBPS/Images/Bonus.jpg
  1247220 2025-02-22 18:30 OEBPS/Images/Characters1.jpg
   959692 2025-02-22 18:30 OEBPS/Images/Characters2.jpg
  2069671 2025-02-22 18:30 OEBPS/Images/Cover.jpg
  1349346 2025-02-22 18:30 OEBPS/Images/Insert1.jpg
  1237286 2025-02-22 18:30 OEBPS/Images/Insert2.jpg
  1185291 2025-02-22 18:30 OEBPS/Images/Insert3.jpg
  1060123 2025-02-22 18:30 OEBPS/Images/Insert4.jpg
  1437268 2025-02-22 18:30 OEBPS/Images/Insert5.jpg
    26945 2025-02-22 18:30 OEBPS/Images/jnovelheartCMYK.png
        0 2025-02-22 22:02 OEBPS/Styles/
     3005 2025-01-25 16:16 OEBPS/Styles/stylesheet.css
        0 2025-02-22 22:43 OEBPS/Text/
     4465 2025-01-25 16:16 OEBPS/Text/afterword.xhtml
      608 2025-01-25 16:16 OEBPS/Text/afterword_img.xhtml
      592 2025-01-25 16:16 OEBPS/Text/bonus.xhtml
    16138 2025-01-25 16:16 OEBPS/Text/chapter1.xhtml
    53483 2025-01-25 16:16 OEBPS/Text/chapter10.xhtml
    82155 2025-01-25 16:16 OEBPS/Text/chapter11.xhtml
    45731 2025-01-25 16:16 OEBPS/Text/chapter12.xhtml
   129441 2025-01-25 16:16 OEBPS/Text/chapter12_1.xhtml
    33818 2025-01-25 16:16 OEBPS/Text/chapter13.xhtml
    39652 2025-01-25 16:16 OEBPS/Text/chapter14.xhtml
    12474 2025-01-25 16:16 OEBPS/Text/chapter15.xhtml
    54936 2025-01-25 16:16 OEBPS/Text/chapter15_1.xhtml
    41181 2025-01-25 16:16 OEBPS/Text/chapter16.xhtml
     2268 2025-01-25 16:16 OEBPS/Text/chapter17.xhtml
    15069 2025-01-25 16:16 OEBPS/Text/chapter17_1.xhtml
    21428 2025-01-25 16:16 OEBPS/Text/chapter1_1.xhtml
    30713 2025-01-25 16:16 OEBPS/Text/chapter2.xhtml
    79861 2025-01-25 16:16 OEBPS/Text/chapter3.xhtml
    84546 2025-01-25 16:16 OEBPS/Text/chapter4.xhtml
    19078 2025-01-25 16:16 OEBPS/Text/chapter5.xhtml
    97373 2025-01-25 16:16 OEBPS/Text/chapter5_1.xhtml
    17153 2025-01-25 16:16 OEBPS/Text/chapter6.xhtml
    43547 2025-01-25 16:16 OEBPS/Text/chapter7.xhtml
    22049 2025-01-25 16:16 OEBPS/Text/chapter8.xhtml
    36493 2025-01-25 16:16 OEBPS/Text/chapter9.xhtml
      614 2025-01-25 16:16 OEBPS/Text/Characters1.xhtml
      614 2025-01-25 16:16 OEBPS/Text/Characters2.xhtml
     2099 2025-01-25 16:16 OEBPS/Text/copyright.xhtml
      617 2025-01-25 16:16 OEBPS/Text/cover.xhtml
      599 2025-01-25 16:16 OEBPS/Text/insert1.xhtml
      599 2025-01-25 16:16 OEBPS/Text/insert2.xhtml
      599 2025-01-25 16:16 OEBPS/Text/insert3.xhtml
      599 2025-01-25 16:16 OEBPS/Text/insert4.xhtml
      599 2025-01-25 16:16 OEBPS/Text/insert5.xhtml
    32342 2025-01-25 16:16 OEBPS/Text/side1.xhtml
    17237 2025-01-25 16:16 OEBPS/Text/side2.xhtml
      960 2025-01-25 16:16 OEBPS/Text/signup.xhtml
     2825 2025-02-22 22:49 OEBPS/Text/toc.xhtml
     4362 2025-01-25 16:16 OEBPS/toc.ncx
--------- -------
 16898859 59 files

nikolar

2025-11-19 11:36

reporter   ~0004315

the contents of mimefile are indeed application/epub+zip

Issue History

Date Modified Username Field Change
2025-11-06 12:11 nikolar New Issue
2025-11-06 12:11 nikolar Tag Attached: zip
2025-11-06 21:28 christos Assigned To => christos
2025-11-06 21:28 christos Status new => assigned
2025-11-06 21:28 christos Note Added: 0004309
2025-11-06 21:29 christos Status assigned => feedback
2025-11-06 21:29 christos Note Added: 0004310
2025-11-19 11:35 nikolar Note Added: 0004314
2025-11-19 11:35 nikolar Status feedback => assigned
2025-11-19 11:36 nikolar Note Added: 0004315