summaryrefslogtreecommitdiff
path: root/actions/twitapistatuses.php
diff options
context:
space:
mode:
authorzach <zach@copley.name>2008-07-31 18:49:11 -0400
committerzach <zach@copley.name>2008-07-31 18:49:11 -0400
commit3a124c5f53810d9a4a943e8c1a6d7b9e513eedbb (patch)
tree324247d60dd0d1db8cdd04887cec326bcc5337b9 /actions/twitapistatuses.php
parent37c5e8ca3c2d77fc3e1836fd76d7462e33f1668e (diff)
Twitter-compatible API - /statuses/update.format now decodes HTML chars, such as &amp;
darcs-hash:20080731224911-ca946-1cb52c7592d48174437c1896c41a4dd853a9e5c7.gz
Diffstat (limited to 'actions/twitapistatuses.php')
-rw-r--r--actions/twitapistatuses.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index b2bbb16f0..7a7523af2 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) {