Bug 50675 - HTML Tags in bug reports are not escaped out they are rendered instead
Summary: HTML Tags in bug reports are not escaped out they are rendered instead
Status: RESOLVED FIXED
Alias: None
Product: kbugbuster
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Martijn Klingens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-13 21:40 UTC by kde
Modified: 2003-02-01 23:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
possible patch to fix the bug (944 bytes, patch)
2002-11-13 21:42 UTC, kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2002-11-13 21:40:09 UTC
Version:            (using KDE KDE 3.0.99)
Installed from:    Compiled From Sources
Compiler:          gcc-2.94.5 
OS:          Linux

HTML tags in that are in the text of a bug report are rendered in bug report screen of kbugbuster.  For example in the bug report 50669 There is example HTML code in the body.  If viewed from the web browser the bug report show the text of the HTML example, if viewed from kbugbuster the HTML is rendered.
Comment 1 kde 2002-11-13 21:42:13 UTC
Created attachment 431 [details]
possible patch to fix the bug

Here is a possible patch that I tried in my checkout.  It seemed to fix the
rendering problem and allows you to view bug 50669 correctly.  It looks pretty
safe to me, but I am not 100% certain.
Comment 2 Simon Hausmann 2002-11-14 16:01:26 UTC
The patch looks safe in general. However I think it's easier to use QStyleSheet::escape instead of 
the manual replacements. 
Comment 3 Peter Nimmervoll 2003-02-01 23:09:08 UTC
*** Bug has been marked as fixed ***.