matrix-org / matrix-org/matrix-bifrost
Implement XEP-0106: JID Escaping
- Dominant language
- TypeScript
- Stars
- 187
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
When mapping Matrix rooms to XMPP, certain characters are not valid in JIDs and must be escaped. The default mechanism for that is [XEP-0106](https://xmpp.org/extensions/xep-0106.html), which also provides a list of which characters to escape:
- U+0022 (")
- U+0026 (&)
- U+0027 (')
- U+002F (/)
- U+003A (:)
- U+003C (<)
- U+003E (>)
- U+0040 (@)
Please convert those into the respective escaped hexadecimal notation, i.e. `"` --> `\22`
Contributor guide
Research direction
Start by locating the Matrix-to-XMPP JID mapping entry point in the repository. Implement XEP-0106 escaping for the eight characters listed in the issue, using their hexadecimal forms, and verify that mapped JIDs contain the expected escaped values. An open linked pull request indicates that this work is already underway.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 30/100