Skip to:
The various JDBC providers (Groups, Users, etc) produce database-based identifiers for groups.
These can include characters that are prohibited in certain contexts, such as whitespace in JID nodes.
To alleviate issues caused by this, the providers should get an option to escape characters that would otherwise be illegal to use.
The most obvious method to re-use for this purpose is org.xmpp.packet.JID#escapeNode
org.xmpp.packet.JID#escapeNode
The various JDBC providers (Groups, Users, etc) produce database-based identifiers for groups.
These can include characters that are prohibited in certain contexts, such as whitespace in JID nodes.
To alleviate issues caused by this, the providers should get an option to escape characters that would otherwise be illegal to use.
The most obvious method to re-use for this purpose is
org.xmpp.packet.JID#escapeNode