Azure / azure-rest-api-specs

The source for REST API specifications for Microsoft Azure.
MIT License
2.61k stars 5.01k forks source link

[azure sql database] Fail to call azure rest api to get azure sql resources when resources has special characters, e.g., '/' and '%' #23982

Open dawwchen opened 1 year ago

dawwchen commented 1 year ago

When I am trying out this API image

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureSQLGitHub.

Issue Details
When I am trying out this API ![image](https://github.com/Azure/azure-rest-api-specs/assets/47666635/5a858c69-156a-403e-8c96-4c8decb8902d) - when my azure sql schema contains special character '/', it will report {"error":{"code":"ResourceNotFound","message":"The specified resource '***' was not found."}}; - when my azure sql schema contains special character '%', it will report { "error": { "code": "InvalidDoubleEncodedRequestUri", "message": "The request URI '**/schemas/testpercent%25schema/tables?api-version=2021-02-01-preview' is not valid, because it contains double encoding sequence '%25'." } }
Author: dawwchen
Assignees: -
Labels: `question`, `SQL`, `Service Attention`, `customer-reported`, `needs-team-attention`
Milestone: -
navba-MSFT commented 1 year ago

Adding Service team to look into this.

tdoshin commented 1 year ago

@navba-MSFT any updates here?