Elasticsearch: slash in search query causes a server error #3518

Open
opened 2026-02-20 16:06:23 -05:00 by deekerman · 0 comments
Owner

Originally created by @dawid-zaroda on GitHub (Jan 22, 2019).

Issue

If I want to search something with slash in name (or other special character) system fails with server error.

Expected Behavior

My input should be filtered or encoded.

Steps to Reproduce

  1. Type "something/" in global search input
  2. Hit "Enter"

Context

Your Environment

  • SuiteCRM Version used: 7.11.0
  • Browser name and version: Google Chrome 71.0.3578.98 (64-bit)
  • Environment name and version: PHP 7.1
  • Operating System and version: Ubuntu 16.04.4
Originally created by @dawid-zaroda on GitHub (Jan 22, 2019). <!--- Provide a general summary of the issue in the **Title** above --> <!--- Before you open an issue, please check if a similar issue already exists or has been closed before. ---> <!--- If you have discovered a security risk please report it by emailing security@suitecrm.com. This will be delivered to the product team who handle security issues. Please don't disclose security bugs publicly until they have been handled by the security team. ---> #### Issue <!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug --> If I want to search something with slash in name (or other special character) system fails with server error. #### Expected Behavior <!--- Tell us what should happen --> My input should be filtered or encoded. #### Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug include code to reproduce, if relevant --> 1. Type "something/" in global search input 2. Hit "Enter" #### Context <!--- How has this bug affected you? What were you trying to accomplish? --> <!--- If you feel this should be a low/medium/high priority then please state so --> #### Your Environment <!--- Include as many relevant details about the environment you experienced the bug in --> * SuiteCRM Version used: 7.11.0 * Browser name and version: Google Chrome 71.0.3578.98 (64-bit) * Environment name and version: PHP 7.1 * Operating System and version: Ubuntu 16.04.4
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#3518
No description provided.