From: zach Date: Thu, 31 Jul 2008 22:49:11 +0000 (-0400) Subject: Twitter-compatible API - /statuses/update.format now decodes HTML chars, such as... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a124c5f53810d9a4a943e8c1a6d7b9e513eedbb;p=quix0rs-gnu-social.git Twitter-compatible API - /statuses/update.format now decodes HTML chars, such as & darcs-hash:20080731224911-ca946-1cb52c7592d48174437c1896c41a4dd853a9e5c7.gz --- 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) {