Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Sanitize for query input sanitization #249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dimroc
Copy link
Contributor

@dimroc dimroc commented Dec 23, 2015

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

@vrecan
Copy link
Collaborator

vrecan commented Mar 17, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants