Smack does not support resourceparts which contain the '@' character.
Description
Localpart parsing fails if resourcepart contains '@'. The fix is seems to simply s/lastIndexOf/indexOf/ in the affected parsing methods of StringUtil. Since neither the localpart, nor the domainpart are allowed to contain '@', '/' (amongst others), it's save to assume that the first appearance of those characters are the separators between the parts of a JID.
According to RFC6122 B, the '@' character (0x40 COMMERCIAL AT) is not strictly disallowed in the resourcepart of a JID (compared to Localpart, defined by Nodeprep in RFC6122 A.5). Smack
Localpart parsing fails if resourcepart contains '@'. The fix is seems to simply s/lastIndexOf/indexOf/ in the affected parsing methods of StringUtil. Since neither the localpart, nor the domainpart are allowed to contain '@', '/' (amongst others), it's save to assume that the first appearance of those characters are the separators between the parts of a JID.
According to RFC6122 B, the '@' character (0x40 COMMERCIAL AT) is not strictly disallowed in the resourcepart of a JID (compared to Localpart, defined by Nodeprep in RFC6122 A.5). Smack
Original Report: https://trac.jitsi.org/ticket/1155