Skip to content

Commit

Permalink
[backend] Text filters is breaking with double quote () (#5630)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkha committed Jan 22, 2024
1 parent 4b2997e commit c003a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencti-platform/opencti-graphql/src/database/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ export const elBatchIds = async (context, user, ids) => {

// region elastic common loader.
export const specialElasticCharsEscape = (query) => {
return query.replace(/([/+|\-*()^~={}[\]:?\\])/g, '\\$1');
return query.replace(/([/+|\-*()^~={}[\]:?"\\])/g, '\\$1');
};

const BASE_SEARCH_CONNECTIONS = [
Expand Down

0 comments on commit c003a4f

Please sign in to comment.