View Single Post
Old 11-10-2010, 09:22 AM   #56
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Weird, it's quite reliable on my system - I've got dozens of books with single quotes in the title, and all are exhibiting this. I'm not seeing single quotes get escaped automatically though...

Here's an example:
Local filesystem:
/Users/userid/Documents/MyeBooks/Douglas Adams/Dirk Gently's Holistic Detective Agency (754)/cover.jpg

Actual URL on the Web Server (can be viewed here):
/ebooks/Douglas Adams/Dirk Gently's Holistic Detective Agency (754)/cover.jpg

URL passed from the PHP script (displays generic book cover):
/CalibrePHP/index.php?m=cover&c=Douglas+Adams%2FDirk+Gently%27 s+Holistic+Detective+Agency+(754)%2Fcover.jpg

No worries about the time, thanks for checking into it.

Edit - I now see that the single quote is escaped in the actual html generated by the PHP, but when the browser actually goes to it it converts it back to a single quote - pasting the URL into the browser location bar will illustrate it. Anyway either way the book cover isn't found.

Last edited by ldolse; 11-10-2010 at 09:27 AM.
ldolse is offline   Reply With Quote