jxmpp
jxmpp copied to clipboard
A Java library providing fundamental abstractions for XMPP
The method XmppStringUtils.escapeLocalpart(String localpart) does not escape non-breaking spaces. But RF7613 section 7.3 is explicitly mentioning, that all spaces should be escaped as \20. This PR adds tests and incl....
If you want to use JidCreate.entityBareFromUnescaped to parse and validate a jid, there is an issue if the jid is incorrect and contains two '@' symbols. https://github.com/igniterealtime/jxmpp/blob/master/jxmpp-jid/src/main/java/org/jxmpp/jid/impl/JidCreate.java#L453 I think both...
In commit c2d80be7ee12187b5b21f1d170b2d86119346e3, Feb 23.2022 of jxmpp, the function entityFullFrom was changed from: public static EntityFullJid entityFullFrom(String jid) throws XmppStringprepException { to: public static EntityFullJid entityFullFrom(String jid, JxmppContext context) throws...
Adding a [DOAP file](https://xmpp.org/extensions/xep-0453.html) would enable [xmpp.org/software](https://xmpp.org/software/) to show more info on this project.
JxmppContext.java already does it. Calling it from XmppStringPrepUtil can result in replacing the desired instance if it's done prior to XmppStringPrepUtil being loaded, e.g.: ``` System.err.println("Initially: " + JxmppContext.getDefaultContext().xmppStringprep.getClass().getName()); JxmppContext.setDefaultXmppStringprep(RocksXmppPrecisStringprep.INSTANCE);...