satorumurmur / bibi

Bibi | EPUB Reader on your website.
https://bibi.epub.link
MIT License
859 stars 123 forks source link

Path resolving error #17

Closed KitaitiMakoto closed 9 years ago

KitaitiMakoto commented 9 years ago

BiB/i doesn't seem able to parse svg-entry-sample.epub file linked from http://blog.cas-ub.com/?p=1094 correctly. It requests /bib/i/styles/style.css but it doesn't exist. It should be a request to OEBPS/styles/style.css.

satorumurmur commented 9 years ago

While opening zipped EPUB, when encode and embed the content of a file in another file as data-URI, BiB/i hadn't distinguish between that the file is not in zipped archive and that the content of the file is "" (blank).

Now it's fixed. Thank you!

KitaitiMakoto commented 9 years ago

I confirmed the issue fixed. Thanks.