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