-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Description
Steps to reproduce
- Open Mangayomi Novel tab
- Import an .EPUB file that contains a <script src="../js/kobo.js"> reference in nav.xhtml
- The referenced file (js/kobo.js) is not present in the EPUB
- Attempt to read it
Expected behavior
The .EPUB should load normally, even if optional JavaScript references are missing,
or the missing resource should be ignored.
Actual behavior
The .EPUB fails to load.
Mangayomi version
0.7.0
Device
iPhone 13, IOS 17.5.1
Other details
The issue was traced to nav.xhtml referencing a non-existent file:
<script src="../js/kobo.js"></script>Removing ONLY this script reference (without changing any other EPUB content)
makes the same file load correctly in Mangayomi iOS.
This appears to be a Kobo-specific leftover that some .EPUB readers ignore,
but Mangayomi currently fails to handle missing resources in nav.xhtml.
Acknowledgements
- I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
- I have written a short but informative title.
- If this is an issue with an extension, I should be opening an issue in the extension's repository.
- I have updated all installed extensions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels