Format 0 must be utf-8
Open
Nobody has claimed this yet.
bug
RFC 7252
- Dominant language
- TypeScript
- Stars
- 552
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
Format 0 is defined as text/plain; charset=utf-8. By definition, text/* defaults to US-ASCII and causes encoding problems if a Unicode-encoded document is served without this charset parameter - e.g. in CoAP-to-HTTP translators.
Instead, the module serves option 0 as merely text/plain i.e. US-ASCII.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the code that serves CoAP option 0 and inspect how its media type is formatted. Confirm the current behavior and identify the relevant test coverage; done means option 0 is served as text/plain with the required utf-8 charset parameter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100