Opened at 2016-02-16T15:35:31Z
Last modified at 2016-02-23T11:27:31Z
#1250 new defect
libpurple sipe messages from latest MS Office/Lync/Skype for Business include font information
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Purple | Version: | devel |
Keywords: | Cc: | ||
IRC client+version: | Client-independent | Operating System: | Public server |
OS version/distro: |
Description
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
72.0pt;}div.WordSection1I{page:WordSection1;}-->Hello
Attachments (0)
Change History (3)
comment:1 Changed at 2016-02-17T13:19:40Z by
comment:2 Changed at 2016-02-17T13:30:17Z by
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
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.
That's a <style>, it removed the tags and kept the content. It's silly. I guess strip_html could also nuke the <!-- -->