Skip to content

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

@david-romero

Description

@david-romero

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions