elastigo icon indicating copy to clipboard operation
elastigo copied to clipboard

Add Sanitize for query input sanitization

Open dimroc opened this issue 9 years ago • 1 comments

Useful when passing through search queries from search form that's available to an end user.

Referenced this node implementation: https://github.com/lanetix/node-elasticsearch-sanitize

dimroc avatar Dec 23 '15 23:12 dimroc

Thanks for putting up the PR. I think this is a good idea but this is a pretty complex set of regular expressions. This needs a better set of tests before this could be merged.

vrecan avatar Mar 17 '16 19:03 vrecan