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

[NH-022] - Normalize search API terms #22

Open
david-romero opened this issue Jul 25, 2019 · 0 comments
Open

[NH-022] - Normalize search API terms #22

david-romero opened this issue Jul 25, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request search API

Comments

@david-romero
Copy link
Contributor

Normalize search API terms

Context

As a developer, I want to normalize the search term in order to avoid code injection attacks.

  • Component: search-api
  • Version: 0.0.1

Expected Behavior

If you perform a search with the term 'System.exit(0);', you get a 400 HTTP status code as a response

Current Behavior

The search term is either not normalized or filtered.

@david-romero david-romero changed the title [NH-0XX] - Normalize search API terms [NH-022] - Normalize search API terms Jul 25, 2019
@david-romero david-romero self-assigned this Jul 25, 2019
@david-romero david-romero added enhancement New feature or request search API labels Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request search API
Projects
None yet
Development

No branches or pull requests

1 participant