Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix values sanitizer handling queries with keys that contain dots #3040

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

imamatory
Copy link

@imamatory imamatory commented Nov 22, 2024

Description

Fixes query sanitizer so that it doesn't mutate the original query object and properly handles dict keys containing dots.

Fixes #3034

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Test that query that contains keys having same name but one of them contains dot in it (e.g. name and name.morph) sanitized correctly

Does This PR Require a Core Repo Change?

  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

Copy link

linux-foundation-easycla bot commented Nov 22, 2024

CLA Not Signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Elasticsearch instrumentalization incorectly serializes object containing dots in field name
1 participant