Bug 177442

Summary: History plugin: messages containing a \000 character are not shown
Product: [Unmaintained] kopete Reporter: Davide Castellone <dc.kastel>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Davide Castellone 2008-12-10 23:48:59 UTC
Version:           0.60.3 (using 4.1.3 (KDE 4.1.3), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.27.4tuxonice

I noticed some incoming messages in the history were shown empty (while they were not). In the XML file they are not empty, but I saw all of them contained an ASCII 0 character, while the messages normally shown did not.

This bug is easy to reproduce: you only need to add a \000 character wherever you want in a message to make it be ignored in the history window.
Comment 1 Davide Castellone 2008-12-11 00:05:49 UTC
Sorry, it is not 0 but EF BF BC (hex). I don't know what character it should represent.
Comment 2 Roman Jarosz 2009-02-01 00:40:43 UTC
SVN commit 919432 by rjarosz:

Remove ObjectReplacementCharacter character because if we call setHtml with it then the html will be empty.
Fixes bug when empty messages were shown in chat and history window.

BUG: 177442
CCBUG: 182114



 M  +9 -2      kopetemessage.cpp  
 M  +1 -1      kopetemessage.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=919432
Comment 3 Roman Jarosz 2009-02-01 00:57:11 UTC
SVN commit 919436 by rjarosz:

Backport commit 919432.
Fixes bug when empty messages were shown in chat and history window.

CCBUG: 177442
CCBUG: 182114



 M  +9 -2      kopetemessage.cpp  
 M  +1 -1      kopetemessage.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=919436
Comment 4 Roman Jarosz 2009-02-01 00:57:56 UTC
SVN commit 919437 by rjarosz:

Backport commit 919432.
Fixes bug when empty messages were shown in chat and history window.

CCBUG: 177442
CCBUG: 182114



 M  +9 -2      kopetemessage.cpp  
 M  +1 -1      kopetemessage.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=919437