Bug #631
highlighting popup interprets HTML code when kde is enabled
100%
Description
Using quassel 0.4.0, if I receive a highlight containing HTML code it will be interpreted in the resulting popup. It may be a good idea to properly escape such characters before passing them on, as this could be abused.
Steps to reproduce:
Receive a popup containing eg. <u>test</u>
Expected results:
Get a popup containing <u>test</u>
Actual results:
Get a popup containing the underlined word "test"
Associated revisions
Don't interpret HTML in KNotify popups, fixes #631
History
#1 Updated by TerrorBite over 15 years ago
This also applies to the dialog box that pops up when pasting multiple lines.
- When pasting the following text:
This is a test <u>This is a <b>test</b></u> This is a test This is a test
- This results in a dialog reading:
Do you really want to paste 4 lines?
This is a test
This is a test
This is a test
...
- Also, when pasting something like this:
<xAFFE> ;-) <xAFFE> test was underlined <adamt> lovely bug. <adamt> that's why i use the good old 0.3 :P
- This will omit text between and including the <> (because it is parsed as invalid HTML).
#2 Updated by chithanh over 15 years ago
Further investigation reveals that this issue seems to be not restricted to KDE or Linux.
#3 Updated by Sputnick over 15 years ago
- Status changed from New to Assigned
- Assignee set to Sputnick
#4 Updated by Sputnick over 15 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset 17d5912f299db23a09a78311a5bb3fe5effec5b9.
Don't interpret HTML in KNotify popups, fixes #631