'Note': proper html escaping
commit47210f89589b32a26d7d3176ba9449c90956d2d6
authorpier11 <pier11@operamail.com>
Tue, 26 Jan 2010 11:55:51 +0000 (26 11:55 +0000)
committerpier11 <pier11@operamail.com>
Tue, 26 Jan 2010 11:55:51 +0000 (26 11:55 +0000)
treeb0cb6bd0cfbfee9894bf222cf29ff160c2473e7f
parent4a06f37404991148aeca6f35f74ebf248c55ebef
'Note': proper html escaping
'Note' processing rules
Protocol format - plain text
Sipe format - html (all incoming plain text should be html-escaped)
Pidgin format - html
Communicator format (2007 R2, 2007, 2005) - plain text

Luck of proper html-escaping caused WIERDEST artifacts
in Pidgin UI like renaming(!) contacts in buddy list,
replacing contacts by group names in UI.
Test case: ask some Communicator user to add < (less symbol) in his note
and see the artifacts in your Pidgin UI.
Example test Note string:
10 < 50
src/core/sipe-ews.c
src/core/sipe.c
src/core/sipe.h