Escape single quotes on partition/row keys #21048
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Tables
Bug Report
Reported version:
github.com/Azure/azure-sdk-for-go/sdk/data/aztables v1.0.1
The current table storage SDK doesn't escape single quotes in partition and row keys. This means an API Bad Request whenever we use single quotes in these fields.
I would expect that the API could handle this, instead of clients escaping every string they send to PK/RK, because most times you wouldn't know.
I can try to raise a PR to fix this.
Here's a repro: https://github.com/davidandradeduarte/azurite-escape-odata-bug (this was initially meant to test azurite, but you can also reproduce the issue with a real storage account)
The text was updated successfully, but these errors were encountered: