Search: escape " when sending to sphinx
This commit is contained in:
parent
013662e50b
commit
78f4da6699
|
@ -60,7 +60,7 @@ class Search
|
|||
end
|
||||
|
||||
# escape sphinx special chars (using Riddle.escape removes boolean support)
|
||||
query = self.q.gsub(/([\/~])/, '\\\\\1')
|
||||
query = self.q.gsub(/([\/~"])/, '\\\\\1')
|
||||
|
||||
# go go gadget search
|
||||
@results = []
|
||||
|
|
Loading…
Reference in a new issue