Bug 70738 - Special characters not masked, data lost
Summary: Special characters not masked, data lost
Status: RESOLVED FIXED
Alias: None
Product: flashkard
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-18 09:22 UTC by Rene Schmidt
Modified: 2004-06-18 19:35 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

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