From 3a124c5f53810d9a4a943e8c1a6d7b9e513eedbb Mon Sep 17 00:00:00 2001 From: zach Date: Thu, 31 Jul 2008 18:49:11 -0400 Subject: [PATCH] Twitter-compatible API - /statuses/update.format now decodes HTML chars, such as & darcs-hash:20080731224911-ca946-1cb52c7592d48174437c1896c41a4dd853a9e5c7.gz --- actions/twitapistatuses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index b2bbb16f06..7a7523af21 100644 --- a/actions/twitapistatuses.php +++ b/actions/twitapistatuses.php @@ -376,7 +376,7 @@ class TwitapistatusesAction extends TwitterapiAction { $user = $apidata['user']; - $status = $this->trimmed('status'); + $status = htmlspecialchars_decode($this->trimmed('status')); $source = $this->trimmed('source'); if (!$source) { -- 2.39.5