![]() ![]() It's possible to upload several books at once by selecting more than one file. Covers should be extracted without error from uploaded PDF files. ImageMagick recently changed their security policy, they now deny per default PDF operations, so covers can't be extracted anymore, you have to allow it in the policy.xml file of ImageMagick (located in /etc/Imagemagick-6) by changing line:Ĭalibre-Web has to be restarted after changing the policy.xml file. Symptom: Calibre-Web logs a message like: WARNING - PDF extraction forbidden by ImageMagick policy: not authorized '/tmp/calibre_web/xxxxxxxxxxxxxxxxxx' error/constitute.c/ReadImage/412 during upload of PDF files. What to do if cover pictures are not extracted from PDF files: Also tools like the Sigil Epub Editor could help to dig deeper into the suspicious books. If you are not sure, you could rename the epub to zip open it and search for js-code and delete it, and afterwards rename it to epub again. So if there is malicious code included the epub, or links to JavaScript code, the browser (if not prevented somehow) will start to interpret it. ![]() The content is just normal html pages, which can include stylesheet files and JavaScript files. During that process, the file contents of the epub file are loaded into the browser. The browser starts the epub-reader JavaScript file, which itself starts to build up the webpage you see. Then Calibre-Web sends the reader page to the browser. If you use the included epub-reader, it is a different story:Ĭalibre-Web unpacks the epub (which are normal zip files) to a folder on the server which is accessible by the browser. If you just organize your epubs with Calibre-Web, the content of the epub is not touched, and nothing gets to execution. Can Calibre-Web execute malicious code in an epub? If you are using some additional systems like a proxy or reverse proxy, they must be configured to support the file size as well. My file is smaller then 200MB, but I get a '413 - Request Entity To Large' error message ![]() What is the maximum file-size which can be uploaded through Calibre-Web?Ĭalibre-Web's default server ('tornado') limits the uploaded file size to 200MB, 'Gevent' the server from the optional requirement has no hardcoded limit (or nothing I'm aware of). Supporting this would mean a complete reimplementation of Calibre's searching functions, which is a bit out of my time and Calibre-Web's feature scope. Virtual libraries are implemented as searches in Calibre's own searching language. Why don't you support Calibre's virtual Libs? Unfortunately some ebooks aren't fully specification compliant, and the epub-reader library has it's own limitations and errors, so from time to time certain ebook aren't displayable by Calibre-Web. Why is my epub xxx.epub not working in the reader?Ĭalibre-Web uses the futurepress-javascript-epub-reader library to display epubs. I'm not using all the readers regularly, so issues might appear from time to time. Koreader on Kobo ( ) has a compatible OPDS browser.FBReader on Android (Cover pictures are only displayed with anonymous browsing enabled, tested with v3.0.8).Coolreader on Android (Cover pictures are not supported, tested with v3.2.29-1).ebookdroid on Android (Download is only working with anonymous browsing enabled with v2.6.3). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |