Azure / Azure/azure-webpubsub

Hyphen in Resource Name

Open
#211 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
147
Forks
96
Avg merge
19h 28m
Merged PRs (30d)
87

Description

When creating the resource in the Azure Portal a hyphen (-) passes validation in the resource name and the resource is successfully created.

When publishing to the resource using the hub name containing the hyphen the following error is received:

Unhandled exception. Azure.RequestFailedException: Service request failed.
Status: 400 (Bad Request)

Content:
aracters can be letters, digits or the following symbols _`,.[]
Headers:
Server: nginx
Date: Wed, 04 Aug 2021 09:41:41 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Content-Type: text/plain; charset=utf-8

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported flow by creating an Azure Web PubSub resource with a hyphenated hub name in the Azure Portal, then publishing to it and inspecting the 400 response. No repository file or test is named; done means the accepted resource name and the publishing behavior are consistent, with a regression test covering the case.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.