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

Don't escape separator characters in single key values #35252

Merged
merged 2 commits into from
Jan 4, 2025

Conversation

ajcvickers
Copy link
Contributor

Fixes #35224

When we generate a key containing multiple values, then we escape the separator character if it is found in any of the values. However, we should not do this if the key is made up of a single value and so will have no separators.

@ajcvickers ajcvickers requested a review from a team as a code owner December 2, 2024 16:30
@AndriySvyryd AndriySvyryd self-assigned this Dec 18, 2024
ajcvickers and others added 2 commits January 3, 2025 16:58
Fixes #35224

When we generate a key containing multiple values, then we escape the separator character if it is found in any of the values. However, we should not do this if the key is made up of a single value and so will have no separators.
@AndriySvyryd AndriySvyryd enabled auto-merge (squash) January 4, 2025 01:00
@AndriySvyryd AndriySvyryd merged commit 1f43fd3 into main Jan 4, 2025
7 checks passed
@AndriySvyryd AndriySvyryd deleted the EscapeToTheCountry branch January 4, 2025 01:48
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.

Cosmos: EF Core 9 fails to find document with '|' character in it's id
3 participants