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

[Mongo] Escape identifiers before extracting value #2832

Merged
merged 1 commit into from
Jul 5, 2019

Conversation

Tobotimus
Copy link
Member

This was causing a KeyError to be raised any time the identifiers contained a key containing $ or ., regardless of whether or not the (escaped) key existed in the data.

This was causing a KeyError to be raised whenever a key containing $ or . was part of the identifiers path, even if the value was actually in the dict.

Signed-off-by: Toby Harradine <[email protected]>
@Tobotimus Tobotimus requested a review from tekulvw as a code owner July 3, 2019 00:41
@mikeshardmind mikeshardmind self-assigned this Jul 3, 2019
@mikeshardmind mikeshardmind added this to the 3.1.3 milestone Jul 3, 2019
@mikeshardmind mikeshardmind merged commit f203930 into V3/develop Jul 5, 2019
@mikeshardmind mikeshardmind deleted the V3/fix_mongo_get branch July 5, 2019 22:02
@Jackenmen Jackenmen added the Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing. label Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority High priority Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants