Skip to content

[FEATURE]: Avoid forbidden characters in the search box #383

@herrardo

Description

@herrardo

How can the project be improved?

Avoid forbidden characters in the search box in order to prevent security issues such as XSS through code injection

How can this be solved?

Given a shopper typing in the search-box component
when the shopper types forbidden characters like < or >
then the search box prevents the acceptance of this characters
and nothing changes in the search box.

Proposed solution

Add a config to the SearchBox module to pass the characters to be forbidden.

Customizations supported

No response

Additional information

This is the location of the search-box module

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions