We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A search query with unexpected input results in the hard error on the server and an error returned in GQL response.
E.g. searching for syst em returns ES query failed. See server logs. because it is failed here:
syst em
ES query failed. See server logs.
// validate field_value for possible no-sql injection if NO_SQL_STRING_INVALIDATION_REGEX.is_match(&starts_with) { error!("Invalid starts_with: {}", starts_with); return Err(()); }
The values should be validated on the client and then on the server before they even make it to ES part.
Relates to #30
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A search query with unexpected input results in the hard error on the server and an error returned in GQL response.
E.g. searching for
syst em
returnsES query failed. See server logs.
because it is failed here:The values should be validated on the client and then on the server before they even make it to ES part.
Relates to #30
The text was updated successfully, but these errors were encountered: