lib/riddle/query.rb in riddle-1.5.11 vs lib/riddle/query.rb in riddle-1.5.12

- old
+ new

@@ -97,10 +97,10 @@ value end end def self.escape(string) - string.gsub(/[\(\)\|\-!@~\/"\/\^\$\\><&=]/) { |match| "\\#{match}" } + string.gsub(/[\(\)\|\-!@~\/"\/\^\$\\><&=\?]/) { |match| "\\#{match}" } end def self.quote(string) "'#{sql_escape string}'" end