Similar Books doesn't escape double quotes in search string

Bug #1280606 reported by Jim Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Fix Released
Undecided
Unassigned

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.

Revision history for this message
Jim Miller (retiefjimm) wrote :
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 Friday.

 status fixreleased

Changed in calibre:
status: New → 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.