[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#580343: [kopete] OTR sends xhtml encoded xmpp messages without otr session



Package: kopete
Version: 4:4.4.3-1
Severity: normal

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@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@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.


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.32-3-amd64

Debian Release: squeeze/sid
  500 unstable        ftp.uni-kl.de 
  500 unstable        ftp.debian.org 
  500 testing         ftp.debian.org 
  500 stable          ftp.debian.org 
    1 experimental    ftp.debian.org 

--- Package information. ---
Depends                        (Version) | Installed
========================================-+-==================
kdebase-runtime                          | 4:4.4.3-1
kdepim-runtime                           | 4:4.4.3-1
libc6                           (>= 2.3) | 2.10.2-7
libexpat1                    (>= 1.95.8) | 2.0.1-7
libgadu3               (>= 1:1.8.0+r592) | 1:1.9.0~rc2-1
libgif4                       (>= 4.1.4) | 4.1.6-9
libglib2.0-0                 (>= 2.12.0) | 2.24.1-1
libidn11                       (>= 1.13) | 1.18-1
libkabc4                      (>= 4:4.4) | 4:4.4.3-1
libkde3support4               (>= 4:4.4) | 4:4.4.3-1
libkdecore5                 (>= 4:4.4.0) | 4:4.4.3-1
libkdeui5                   (>= 4:4.4.0) | 4:4.4.3-1
libkdnssd4                    (>= 4:4.4) | 4:4.4.3-1
libkhtml5                     (>= 4:4.4) | 4:4.4.3-1
libkio5                       (>= 4:4.4) | 4:4.4.3-1
libkmime4                     (>= 4:4.4) | 4:4.4.3-1
libknewstuff2-4               (>= 4:4.4) | 4:4.4.3-1
libknotifyconfig4             (>= 4:4.4) | 4:4.4.3-1
libkopete4                  (>= 4:4.4.1) | 4:4.4.3-1
libkparts4                    (>= 4:4.4) | 4:4.4.3-1
libkpimidentities4            (>= 4:4.4) | 4:4.4.3-1
libkutils4                    (>= 4:4.4) | 4:4.4.3-1
libmeanwhile1                 (>= 1.0.2) | 1.0.2-3
libmediastreamer0                 (>= 3) | 3.2.1-2
libmsn0.3                      (>= 4.1~) | 4.1-1.2
libortp8                                 | 3.2.1-2
libotr2                       (>= 3.2.0) | 3.2.0-2
libphonon4                  (>= 4:4.2.0) | 4:4.6.0really4.4.0-4
libqca2                                  | 2.0.2-1
libqimageblitz4                          | 1:0.0.4-4
libqt4-dbus                 (>= 4:4.5.3) | 4:4.6.2-4
libqt4-network              (>= 4:4.5.3) | 4:4.6.2-4
libqt4-qt3support           (>= 4:4.5.3) | 4:4.6.2-4
libqt4-sql                  (>= 4:4.5.3) | 4:4.6.2-4
libqt4-xml                  (>= 4:4.5.3) | 4:4.6.2-4
libqtcore4                  (>= 4:4.6.1) | 4:4.6.2-4
libqtgui4                   (>= 4:4.5.3) | 4:4.6.2-4
libsolid4                     (>= 4:4.4) | 4:4.4.3-1
libssl0.9.8                (>= 0.9.8m-1) | 0.9.8n-1
libstdc++6                    (>= 4.4.0) | 4.4.4-1
libv4l-0                      (>= 0.5.0) | 0.6.4-1
libx11-6                          (>= 0) | 2:1.3.3-3
libxml2                       (>= 2.7.4) | 2.7.7.dfsg-2
libxslt1.1                   (>= 1.1.25) | 1.1.26-3
phonon                                   | 4:4.6.0really4.4.0-4
zlib1g                      (>= 1:1.1.4) | 1:1.2.3.4.dfsg-3


Recommends               (Version) | Installed
==================================-+-===========
libqca2-plugin-ossl                | 0.1~20070904-4
libqt4-sql-sqlite                  | 4:4.6.2-4


Suggests                  (Version) | Installed
===================================-+-===========
kdeartwork-emoticons                | 4:4.4.3-1
khelpcenter4                        | 4:4.4.3-1
texlive-latex-base                  | 2009-8







Reply to: