calibre-server 3.0's "--url-prefix" doesn't apply to all URLs.

Bug #1698406 reported by Alan Aversa on 2017-06-16
This bug affects 4 people
Affects Status Importance Assigned to Milestone

Bug Description

When I run calibre-server 3.0 with the --url-prefix option (for example, with "/calibre"), it doesn't apply "/calibre" to all resource URLs. Consequently, I get an "interface-data/init" (404) error when trying to access calibre-server's page through a reverse proxy.

I'm using Calibre 3.0.0 on Slackware-current, Linux kernel 4.9.31. I'm using the binary from .

Just add a trailing slash to the URL you are using in your browser and
it should be fine, so if you are using


instead use


I should add some code to take care of this automatically at some point

Kovid Goyal (kovid) wrote :

I have committed a fix for auto-handling the case when no trailing-slash
is used, however, I have not tested it extensively, so let me know if
there are still problems in the next release.

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers