#1250 new defect

libpurple sipe messages from latest MS Office/Lync/Skype for Business include font information

Reported by: mail@… Owned by:
Priority: normal Milestone:
Component: Purple Version: devel
Keywords: Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:


I've started seeing this as colleagues are getting the latest MS Office/Lync/Skype for Business suite. This is an example of two people saying "Hello". Using Finch/libpurple and pidgin-sipe I don't have this problem. I guess bitlbee needs to hide this information. I've tried the latest version of bitlbee from git and still see this issue.

13:30 <Me> Hello

13:33 <SmithJohn> <!-- /* Font Definitions */ @font-faceI{font-family:"Cambria Math";Ipanose-1:2 4 5 3 5 4 6 3 2 4;}@font-faceI{font-family:"Segoe UI";Ipanose-1:2 11 5 2 4 2 4 2 2 3;} /* Style Definitions */ p.MsoNormal,

li.MsoNormal, div.MsoNormalI{margin-top:0cm;Imargin-right:0cm;Imargin-bottom:8.0pt;Imargin-left:0cm;Iline-height:107%;Ifont-size:11.0pt;Ifont-family:"Calibri",sans-serif;}.MsoChpDefaultI{font-family:"Calibri",sans-

13:33 <SmithJohn> serif;}.MsoPapDefaultI{margin-bottom:8.0pt;Iline-height:107%;} /* Page Definitions */ @page WordSection1I{size:612.0pt 792.0pt;Imargin:72.0pt 72.0pt 72.0pt


Attachments (0)

Change History (3)

comment:1 Changed at 2016-02-17T13:19:40Z by dx

That's a <style>, it removed the tags and kept the content. It's silly. I guess strip_html could also nuke the <!-- -->

comment:2 Changed at 2016-02-17T13:30:17Z by mail@…

Yes that might be a good solution, but it doesn't strip them currently with strip_html as true.

comment:3 Changed at 2016-02-23T11:27:31Z by mail@…

I think my colleagues have had Windows updates recently, and now with "strip_html true" I do not see any font info. With "strip_html false" I see some, but not as much as before.

Modify Ticket

as new The ticket will remain with no owner.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.