Calibre content server prefix not used for mobile link

Bug #1998767 reported by Andy Kelk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

Bug Description

When loading the root page for the content server, there is a link to the mobile version of the page:
<div>You can also use a simple, non-JavaScript version of this site: <a href="mobile">here</a></div>
This does not use the content server prefix specified in the "Sharing over the net" preferences pane. This means that, if you use a custom prefix, it results in a 404 error if someone clicks on that link.

Revision history for this message
Kovid Goyal (kovid) wrote :

It's a relative link, it will work fine as long as you include the
trailing slash on the URL you use to access the server. So for a URL
prefix of /XXX use the URL

http://whatever:port/XXX/

not

http://whatever:port/XXX

Changed in calibre:
status: New → Invalid
Revision history for this message
Kovid Goyal (kovid) wrote :

In the next release I will have the server automatically redirect to the
URL form with the trailing slash.

Revision history for this message
Kovid Goyal (kovid) wrote : Fixed in master

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: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.