Bug 358549 - HTML is not escaped when sending desktop notifications to android
Summary: HTML is not escaped when sending desktop notifications to android
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-25 18:27 UTC by rebweb77
Modified: 2018-09-27 14:35 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rebweb77 2016-01-25 18:27:31 UTC
When getting an notification from your Android Phone via Kde-Connect, accidentel HTML-Tags in notifications on the phone are not escaped on the desktop. For Example: an Android chat notifcation "...<h1> Hello </h1>" is shown as large text.

Reproducible: Always

Steps to Reproduce:
1.Connect android phone with kde-connect
2.enable notification-receiving
3.produce notification with HTML-like text on the phone


Actual Results:  
HTML is unescaped; content between '<' and '>' is not shown.

Expected Results:  
The full text of the notification with HTML-like content should be shown as text. '<' and '>' should be shown as '<' and '>'.

Seen on default Manjaro [with KDE].
Comment 1 Dinker Goel 2016-08-30 18:34:48 UTC
Hi,
I am new here. I would like to have a look on this bug. Can you tell me in which portion or module of the code will I find this bug? 
Regards.