Bug 50675

Summary: HTML Tags in bug reports are not escaped out they are rendered instead
Product: [Applications] kbugbuster Reporter: kde
Component: generalAssignee: Martijn Klingens <klingens>
Status: RESOLVED FIXED    
Severity: normal CC: hausmann
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: possible patch to fix the 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 ***.