IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

Using the "Add Criteria" drop down results in HTML encoded double quote characters on any text based field

Using the "Add Criteria" drop down results in HTML encoded double quote characters on any text based field

Version
Using the "Add Criteria" drop down results in HTML encoded double quote characters on any text based field.


Issue

From a Process or Binary Search page, when using the Add Criteria drop down to include text based fields that have double quotes in the field value, the resulting search query uses HTML encoded &quot values instead of the double quote character ".

 

Symptoms

One would see the "&quot" characters show up for text based fields when using the drop down, but if you included the query in the "Search" text box, double quotes appear as expected. For example the following:

1. From a Process Search -> Add Criteria -> Process Name -> "chrome.exe"

This produces the results for the query: process_name:"chrome.exe"

 

2. From a Process Search, include the desired query in the search text box: process_name:"chrome.exe"

This produces the results for the query: process_name:"chrome.exe"


Cause
The affected fields in the "Add Criteria" drop down were not escaping double quotes properly.

Solution

Avoid using the "Add Criteria" drop down when you observe this behavior, and simply include the desired query with the double quotes in the "Search" text box to see the desired results.

 

A fix is targeted for v5.1 and is being tracked under defect CBUI-1286.

Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎05-15-2015
Views:
418
Contributors