Skip to content

Unable to load epub where paths to resources are not normalized #23

@kamilgolunski

Description

@kamilgolunski

Loading epub fails when path to resources (like images or fonts) are not normalized, e.g "img/../img/cover.jpg" or "css/../fonts/font.ttf".

I get error on line:
https://github.com/logiclord/epubReader/blob/master/js/epubReaderFileFacilitator.js#L69,
data is called on 'null', I think that "imgpath" should be normalized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions