As a security precaution, we have turned on the setting "Require API key authentication for API requests" for everyone. If this has broken something, please contact
Last Comment Bug 735998 - HTML entities in the latest tweet under "@<twitter-account> timeline" should be resolved to Unicode characters
: HTML entities in the latest tweet under "@<twitter-account> timeline" should ...
Product: Thunderbird
Classification: Client Software
Component: Instant Messaging (show other bugs)
: Trunk
: All All
: -- normal (vote)
: Thunderbird 16.0
Assigned To: Florian Quèze [:florian] [:flo]
Depends on:
  Show dependency treegraph
Reported: 2012-03-15 00:51 PDT by Masayuki Nakano [:masayuki]
Modified: 2012-06-15 04:02 PDT (History)
2 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---

Patch (950 bytes, patch)
2012-06-12 08:48 PDT, Florian Quèze [:florian] [:flo]
clokep: review+
mozilla: approval‑comm‑aurora+
Details | Diff | Splinter Review

Description User image Masayuki Nakano [:masayuki] 2012-03-15 00:51:16 PDT
The latest tweet in the timeline is shown at the top-right of the chat tab (under "@<twitter-account> timeline").

However, it doesn't resolve HTML entities such as &gt; to Unicode characters. I.e., "foo > bar" is shown as "foo &gt; bar" there.
Comment 1 User image Florian Quèze [:florian] [:flo] 2012-03-15 03:12:00 PDT
It seems we forgot to unescape the HTML entities before setting the topic when sending a tweet.
Comment 2 User image Florian Quèze [:florian] [:flo] 2012-06-12 08:48:19 PDT
Created attachment 632268 [details] [diff] [review]
Comment 3 User image Patrick Cloke [:clokep] 2012-06-12 09:11:48 PDT
Comment on attachment 632268 [details] [diff] [review]

This looks fine, did we verify that we should be sending the entities to Twitter? (I vaguely recall we're supposed to, but just wanted to check!)
Comment 4 User image Florian Quèze [:florian] [:flo] 2012-06-14 07:22:56 PDT
Comment 5 User image Florian Quèze [:florian] [:flo] 2012-06-14 07:23:37 PDT
Comment on attachment 632268 [details] [diff] [review]

[Approval Request Comment]
Simple fix for a quite visible bug when using twitter.
Comment 6 User image Florian Quèze [:florian] [:flo] 2012-06-15 04:02:53 PDT

Note You need to log in before you can comment on or make changes to this bug.