]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Twitter-compatible API - /statuses/update.format now decodes HTML chars, such as...
authorzach <zach@copley.name>
Thu, 31 Jul 2008 22:49:11 +0000 (18:49 -0400)
committerzach <zach@copley.name>
Thu, 31 Jul 2008 22:49:11 +0000 (18:49 -0400)
darcs-hash:20080731224911-ca946-1cb52c7592d48174437c1896c41a4dd853a9e5c7.gz

actions/twitapistatuses.php

index b2bbb16f068799b022b2ac0316678a96e95b7e12..7a7523af21e46ecd1cb8508a3a32bc822ac083a5 100644 (file)
@@ -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) {