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

Cosmos DB: Fixes whitespace and supported special characters handling #18579

Merged
merged 6 commits into from
Jul 12, 2022

Conversation

ealsur
Copy link
Member

@ealsur ealsur commented Jul 12, 2022

Changes use of url.QueryEscape to url.PathEscape to support ids with white spaces.

Also adds the same test scenarios as Azure/azure-cosmos-dotnet-v3#3307

One key difference are the IdWithDisallowedCharForwardSlash and IdWithDisallowedCharBackSlash scenarios that in .NET return: BadRequest and NotFound, but in Go, they return Created and BadRequest.

@ealsur ealsur added the Cosmos label Jul 12, 2022
@ealsur ealsur self-assigned this Jul 12, 2022
@ealsur ealsur enabled auto-merge (squash) July 12, 2022 20:33
@ealsur ealsur merged commit 422e05b into Azure:main Jul 12, 2022
@ealsur ealsur deleted the users/ealsur/idtests branch July 12, 2022 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants