From 108aa5c467f54442561ece3db3c4fc9d37d4c95b Mon Sep 17 00:00:00 2001 From: Jean Baptiste Favre Date: Thu, 13 Sep 2012 22:40:13 +0200 Subject: [PATCH] Replace t.co links with expanded one provided by Twitter. Can still be a shortened one & will be done only for HTML view, but still a start. Backport of merge_requests/205. --- plugins/TwitterBridge/twitterimport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/TwitterBridge/twitterimport.php b/plugins/TwitterBridge/twitterimport.php index 1c362d6fe8..301e7afd7a 100644 --- a/plugins/TwitterBridge/twitterimport.php +++ b/plugins/TwitterBridge/twitterimport.php @@ -632,7 +632,7 @@ class TwitterImport function makeUrlLink($object, $orig) { - return "{$orig}"; + return ''.htmlspecialchars($object->display_url).''; } function makeHashtagLink($object, $orig) -- 2.39.2