astarte-platform / astarte-platform/astarte-device-sdk-java
Add restrictions on allowed chars in endpoint parameters
Open
- Dominant language
- Java
- Stars
- 3
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
The chars `/`, `+` and `#` should not be allowed in endpoint parameters.
This is due to MQTT specifications. As `+` and `#` are used as wildcards and `/` is used as a path separator.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Java SDK code that parses or validates endpoint parameters and identify the tests covering parameter values. Confirm the MQTT restrictions for `/`, `+`, and `#`, then ensure those characters are rejected and the relevant tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100