Similar Books doesn't escape double quotes in search string

Bug #1280606 reported by Jim Miller on 2014-02-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

calibre 1.24 [64bit] isfrozen: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')

I have a series that had double quotes in it. Similar Books -> Books in this Series didn't work because the double quotes weren't escaped.

One simple fix is to add t.replace('"','\\"') when constructing the search string.

I've attached a patch that does that.

Fixed in branch master. The fix will be in the next release. calibre is usually released every 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.

Other bug subscribers