Thursday, 1 March 2012
Another quick tip for those RoR developers using Sphinx / Thinking sphinx as a search backend.
Sanitising your search string with Riddle.escape
e.g. Riddle.escape( :params[query] )
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.