Client ID doesn't support underscore
- Dominant language
- TypeScript
- Stars
- 147
- Forks
- 96
- Avg merge
- 19h 28m
- Merged PRs (30d)
- 87
Description
### Describe the bug
Currently client ID doesn't support underscore, which may block some of the existing tools of MQTT
### To Reproduce
1. Open https://mqttx.app/web-client
2. Click "new connection", fill in host, port and path, click "connect"
You'll see the connection fails because the default client ID (mqttx_xxx) contains underscore.
If underscore is commonly used in existing MQTT tools, we should support it.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the MQTTX web-client reproduction described in the issue, then trace where the client ID is validated in the repository. The change is complete when a client ID containing an underscore connects successfully and a regression test covers that case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend-api-design
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100