Repository navigation
[codex] Load EPUB archive images safely - #19
Draft
AndreKalberer wants to merge 1 commit into
Draft
AndreKalberer wants to merge 1 commit into
AndreKalberer wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EPUB chapters previously copied archive-relative image paths into the app document, so embedded illustrations did not decode. Resolve raster images within the EPUB ZIP and render them through MIME-typed blob URLs, deduplicating repeated references.
Reject unsafe archive paths and external resource references, strip active content and resource-loading attributes, and bound archive size, entry count, inflation, and chapter image resources. Revoke temporary URLs after cancellation or failure, and transfer URL ownership only after the new chapter is inserted successfully so failed navigation preserves the previous chapter. Build chapters with a document fragment to support large node counts.
Update release metadata to 2.3.8. The lockfile changes only its two root version fields; dependencies are unchanged. LG and Samsung files contain version metadata only. Native Android and TV behavior are outside this PR.
Validation completed:
This is a stacked draft based on #15 (
codex/hbr005-comic-cancellation, commit4e7f320f40a9dc863e1fa7390ab68ed93e70f62b), which depends on #10. Merge order is #10, then #15, then this PR. No merge, ready-for-review transition, or installation is part of this publish action.