matrix-org / matrix-org/matrix-bifrost

Implement XEP-0106: JID Escaping

Open
#83 0 comments 1 reaction 0 assignees Claimed by @rakaar View on GitHub
T-Enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.