elastigo
elastigo copied to clipboard
Add Sanitize for query input sanitization
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
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.