View Single Post
Old 10-02-2013, 04:25 AM   #637
SirMossi
Junior Member
SirMossi began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Sep 2013
Device: Sony PRS T2
I have a small suggestion:
When entering a search query from an android device with word completion, most times a space is automatically entered at the end of a word. If there is a space at the end of the search query, COPS does not find the results.
For example: "game of thrones" returns a result, but "game of thrones " returns nothing. So I've added a trim around $query in Book::getBooksByQuery

And on the other side I'm looking for an idea with my Sony PRS-T2.
I've installed my calibre library and COPS on a virtual server. On this server there are several web pages in virtual hosts and also COPS is running in a virtual host. To restrict the access to COPS I'm using apache auth to access the page. Ok so far.
Now the problem: It seems, that the PRS-T2 has a bug with the authorization. I can browse the page, but I'm not able to download the ebooks. When downloading, the PRS-T2 does not resend the credentials.
My current idea is, that I copy the fetch.php with its dependencies to a subfolder in another virtual host which has no authorization implemented. But how could I make this secure?
Any ideas?
SirMossi is offline   Reply With Quote