Menu
Feedback
Known issues
Special Characters in Search Query Break Store Framework Search Behavior
Store Framework
ID: 1232881
Backlog
Published on10/16/2025
Last updated on10/16/2025
1 min read

Summary

When a search query includes special characters such as # or ?, the remainder of the product name is ignored. Additionally, the map parameter is incorrectly recognized, resulting in an empty search or a 'Not Found' page if the flag enable404OneSegment is set as true.

Simulation

  1. Go to the store's search page (Store Framework-based).
  2. Perform a search for a product with special characters, such as Produto#123 or Produto?123.
  3. Observe that only the part of the term before the special character is considered.
  4. The map parameter is disregarded, leading to a broken or empty search result.

Workaround

N/A

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback