Bug 70738

Summary: Special characters not masked, data lost
Product: [Unmaintained] flashkard Reporter: Rene Schmidt <rene>
Component: generalAssignee: Scott Wheeler <wheeler>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rene Schmidt 2003-12-18 09:22:26 UTC
Version:           1.0 (using KDE KDE 3.1.4)
Installed from:    Gentoo Packages
Compiler:          gcc 3.2.3 
OS:          Linux

When you load a kvtml file that has got e.g. an ampersand in an e or t element Flashkard dumps everything after the last element without an ampersand. Questions and answers behind that element won't get displayed or even saved again so the data is LOST after that.

Maybe that's because special characters are not being masked at all.

This is no distribution related bug, I've (re-)produced that with Flashkard 1.0 from KDE 3.1.4 on SuSE 8.2 and Gentoo (x86).

How to confirm: edit an kvtml file in Kate or so and place an ampersand character in the element of the fist question. Then load that file into FlashKard. While the first question is being displayed (and saved again when you do) the rest of the file got dumped.
Comment 1 Rene Schmidt 2003-12-18 09:25:11 UTC
New How-to-confirm:

How to confirm: edit an kvtml file in Kate or so and place an ampersand character in the t-element of the first question. Then load that file into FlashKard. While the first question is being displayed (and saved again when you do) the rest of the file got dumped.
Comment 2 Peter Hedlund 2004-06-18 19:35:49 UTC
FlashKard has been replaced by KWordQuiz. KWordQuiz escapes ampersands, greater then, and less then characters when saving.