Bug 358051 - HTML source of XMPP stanzas with HTML bodies is visible in OTR messages
Summary: HTML source of XMPP stanzas with HTML bodies is visible in OTR messages
Status: REPORTED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: text-ui (show other bugs)
Version: 15.08.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-16 02:59 UTC by Unknown
Modified: 2021-03-09 07:26 UTC (History)
0 users

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 Unknown 2016-01-16 02:59:25 UTC
Whenever a message is received that was sent from an XMPP client that supports HTML in message stanzas, it escapes the HTML and puts this into the conversation window.

What should really be done here is either parse the HTML and display it accordingly, or grab the alternative stanza body that doesn't contain any HTML tags.

Reproducible: Always

Steps to Reproduce:
1. Send a URL to an image or a formatted message from Pidgin to KTp
2. View the message that is received in KTp

Actual Results:  
The conversation contains an escaped form of the raw HTML in the stanza's body that was generated by Pidgin

Expected Results:  
Either, the HTML is parsed and displayed accordingly, or the non-HTML body is displayed (Pidgin actually sends two bodies; one for HTML-aware clients, and one with all HTML tags stripped).
Comment 1 Unknown 2016-01-16 03:14:23 UTC
Note that I just realized that this issue only occurs within OTR sessions.
Comment 2 Justin Zobel 2021-03-09 07:26:23 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.