Bug 279269

Summary: Kopete history plugin escapes quote and ampersand characters
Product: [Applications] kopete Reporter: Vsevolod Krishchenko <mstu>
Component: History PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: hexetic, MurzNN, pali.rohar, w01dnick
Priority: NOR    
Version: 1.0.80   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vsevolod Krishchenko 2011-08-03 09:29:09 UTC
Version:           1.0.80 (using KDE 4.6.5) 
OS:                Linux

History plugin escapes quote character (as "&quot;") and ampersand character as "&amp;" when saving history. It affects both incoming and outcoming messages.


Reproducible: Always

Steps to Reproduce:
1. Open some Jabber or ICQ chat (I have not tested other protocols, but I think it works with any protocol plugin).
2. Send some message containing '"' or '&'. 
Let's send just two characters: "&
3. Close char window.
4. Reopen the same chat or open a contact history.
5. Saved message looks like: &quot;&amp;



Actual Results:  
Saved message looks like: 
&quot;&amp;

Expected Results:  
Saved message should look like: 
"&

It does not affect <, > or ' characters. So it is not full HTML escaping.
Comment 1 Mykola Krachkovsky 2012-05-30 09:46:25 UTC
*** This bug has been confirmed by popular vote. ***
Comment 2 Mykola Krachkovsky 2012-05-30 09:49:54 UTC
Kopete 1.2.3 (KDE 4.8.3)

Bug still presents.

Also https://bugs.kde.org/show_bug.cgi?id=269097 exists with patch (maybe helpful).
Comment 3 Murz 2012-12-12 06:32:18 UTC
KDE 4.9.4 - bug is still exist too. It is not so hard to fix it, where is the problem?
Comment 4 Pali Rohár 2016-08-14 22:02:49 UTC

*** This bug has been marked as a duplicate of bug 269097 ***