Skip to content

fix(mime): map the comic book archive extensions to their own types - #974

Merged
dschmidt merged 1 commit into
mainfrom
fix/mime-comicbook
Nov 5, 2026
Merged

dschmidt merged 1 commit into
mainfrom
fix/mime-comicbook

Conversation

@dschmidt

@dschmidt dschmidt commented Nov 4, 2026 •

Copy link
Copy Markdown

reva maps cbz, cbr, cb7 and cbt all to application/x-cbr, as Apache's mime.types does, which uses that one type for every comic book archive. Since 2016 IANA has application/vnd.comicbook+zip for .cbz and application/vnd.comicbook-rar for .cbr; shared-mime-info has those two (with application/x-cbr as an alias of the RAR one) plus application/x-cb7 and application/x-cbt. The container differs per extension (zip, RAR, 7z, tar), so a single type tells a client less than it needs to open the archive, for example to show the cover. cba (ACE) has no type of its own anywhere and keeps application/x-cbr. Happy to discuss if the single type is preferred.

Up for discussion, this is more precise but the more generic type is not wrong.

@dschmidt
dschmidt merged commit c4bc636 into main Nov 5, 2026
20 checks passed
@dschmidt
dschmidt deleted the fix/mime-comicbook branch November 5, 2026 20:59
@openclouders openclouders mentioned this pull request Nov 5, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants