[kopete-bugs] [Bug 236419] New: OTR sends xhtml encoded xmpp messages without otr session

Robert Wohlrab robert.wohlrab at gmx.de
Wed May 5 12:03:51 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=236419

           Summary: OTR sends xhtml encoded xmpp messages without otr
                    session
           Product: kopete
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kopete-bugs at kde.org
        ReportedBy: robert.wohlrab at gmx.de


Version:           4.4.3 (using KDE 4.4.2)
OS:                Linux
Installed from:    Debian testing/unstable Packages

I use different clients which aren't otr or xhtml-im aware. This means that
kopete must not send xhtml encoded messages to these clients. This works
perfectly in case the otr plugin is _disabled_.

OTR now defines that all data send over it can be (x)html. The problem is that
after I enabled the otr plugin (without using otr at all - standard behaviour
is opotunistic) it just sends xhtml even when the capabilities of the other
clients doesn't support xhtml-im and doesn't supprt otr at all.

Message to google mail with otr plugin enabled in kopete:
<message type="chat" to="testaccount at googlemail.com" id="239">
<body>&lt;p&gt;asd&lt;/p&gt;                                                   
                      </body>
<x xmlns="jabber:x:event">
<offline/>
<composing/>
<delivered/>
<displayed/>
</x>
<active xmlns="http://jabber.org/protocol/chatstates"/>
</message>

message to google mail with otr plugin disabled in kopete:
<message type="chat" to="testaccount at googlemail.com" id="241">
<body>asd</body>
<x xmlns="jabber:x:event">
<offline/>
<composing/>
<delivered/>
<displayed/>
</x>
<active xmlns="http://jabber.org/protocol/chatstates"/>
</message>

This bug is not about problems with miranda's otr plugin because it has more
faults than features. It was tested using minimal client implementation and
actual user clients like the jabber integration in google mail. All output was
checked using xml console.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the kopete-bugs mailing list