powered by Jive Software

Cannot view profile from search result

Cannot view profile from search result. The search result contains disallowed character in JID (http://xmpp.org/extensions/xep-0106.html)

example reproduce steps

  1. search “john” and found JID=john’abc.domain.com@xyzserver.com

  2. click view profile of john’abc.domain.com@xyzserver.com

  3. the popup error is shown “Unable to locate a profile for john’abc.domain.com@xyzserver.com

Found Smack Debug Window

Message Sent

**
**

<message id="b7d10-63" to="john'abc.domain.com@xyzserver.com">
   <x xmln="jabber:x:event"/>
</message>

Message Received

<message id="b7d10-63" to="kong.kong.domain.com@xyzserver.com/Spark2.6.3" from="john'abc.domain.com@xyzserver.com" type="error">
    <error code="400" type="MODIFY">
        <jid-malformed xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" />
    </error>
</message>

I tried to view profile “john’abc.domain.com@xyzserver.com” from my contact list. It can show profile successfully.

Please help me to make sure that this is a bug of Spark to handle disallow characters