Sujet : Re: Something I Never Fucking Knew
De : candycanearter07 (at) *nospam* candycanearter07.nomail.afraid (candycanearter07)
Groupes : comp.os.linux.advocacyDate : 24. Jun 2024, 08:20:04
Autres entêtes
Organisation : the-candyden-of-code
Message-ID : <slrnv7i3kd.aa95.candycanearter07@candydeb.host.invalid>
References : 1 2 3 4 5 6 7
User-Agent : slrn/1.0.3 (Linux)
Farley Flud <
ff@linux.rocks> wrote at 10:57 this Sunday (GMT):
On Sun, 23 Jun 2024 10:39:54 +0000, Farley Flud wrote:
>
It seems that the EPUB contains some sort of extra data that
will distinguish it from an ordinary zip file.
>
That extra data is an uncompressed MIME type block.
>
So the ZIP format is not actually a pure ZIP format.
>
This also explains why an EPUB can't be unzipped, edited,
and then zipped again. The result will not be an EPUB.
So, you'd just need to edit the file to add the header?
-- user <candycane> is generated from /dev/urandom