Bug 177442 - History plugin: messages containing a \000 character are not shown
Summary: History plugin: messages containing a \000 character are not shown
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-10 23:48 UTC by Davide Castellone
Modified: 2009-02-01 00:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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