]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Make link href the long url so users can tell where links are going
authorCraig Andrews <candrews@integralblue.com>
Tue, 22 Sep 2009 02:48:19 +0000 (22:48 -0400)
committerCraig Andrews <candrews@integralblue.com>
Tue, 22 Sep 2009 02:48:19 +0000 (22:48 -0400)
lib/util.php

index 37744fc5b7f5e598f8b4dcc5fa852355493b74c9..018b7cad513c91d2cb82c89f7e5a0f0e4007c450 100644 (file)
@@ -536,7 +536,7 @@ function common_linkify($url) {
         throw new ServerException("Can't linkify url '$url'");
     }
 
-    $attrs = array('href' => $canon, 'rel' => 'external');
+    $attrs = array('href' => $longurl, 'rel' => 'external');
 
     $is_attachment = false;
     $attachment_id = null;