-
Notifications
You must be signed in to change notification settings - Fork 862
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
postgresql API allows capitals & invalid chars in server name/returns incorrect casing. #6305
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @rachel-msft |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @jaredmoo |
Hi @katbyte I have tagged this issue so the corresponding service team will have a look at this. |
Thanks for reaching out @katbyte and providing details about this experience. For this api, we request that lowercase format be used for inputting letters. |
@rachel-msft thanks for confirming this is a bug - is there a timeline to fix this bug in the API? |
@tombuildsstuff I wasn't saying that it is a bug. The server name is expected to be lower case and converts other entries into this format. There isn't any change planned. |
@rachel-msft, if the server name is expected to be lowercase the API should be validating and rejecting any server names that are not lowercase? this very much sounds like a bug that should fixed, storage accounts also can only be lower case and they reject any name that has capitals in it rather then silently changing a users input. |
@rachel-msft, it seems there is no validation on API inputs here at all. I have done a number of requests with invalid chars (#$!@) and the API just hangs. |
We haven't been able to receive the issue described with invalid chars. We get an error code and error when we attempted the chars you listed (#$!@). Closing this issue for now. Can reopen if repro steps are provided. |
Bug Report
the API accepts uppercase letters for sql server name but then returns the server name in all lowercase.
put:
https://management.azure.com/subscriptions/1a6092a6-137e-4025-9a7c-ef77f76f2c02/resourceGroups/acctestRG-postgres-191108135158564028/providers/Microsoft.DBforPostgreSQL/servers/acctest-PGSQL-server-191108135158564028?api-version=2017-12-01
get:
https://management.azure.com/subscriptions/1a6092a6-137e-4025-9a7c-ef77f76f2c02/resourceGroups/acctestRG-postgres-191108135158564028/providers/Microsoft.DBforPostgreSQL/servers/acctest-PGSQL-server-191108135158564028?api-version=2017-12-01
either the server name to be returned in the correct casing or an API error due to the uppercase characters.
The text was updated successfully, but these errors were encountered: