Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement XEP-0106: JID Escaping #83

Open
ge0rg opened this issue Nov 12, 2019 · 0 comments · May be fixed by #91
Open

Implement XEP-0106: JID Escaping #83

ge0rg opened this issue Nov 12, 2019 · 0 comments · May be fixed by #91
Labels
T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements.

Comments

@ge0rg
Copy link

ge0rg commented Nov 12, 2019

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, 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

@jaller94 jaller94 added the T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements. label May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants