From ebb52efeb48212626d41a79b9d7e4f505323d074 Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Mon, 21 Sep 2009 22:48:19 -0400 Subject: [PATCH] Make link href the long url so users can tell where links are going --- lib/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util.php b/lib/util.php index 37744fc5b7..018b7cad51 100644 --- a/lib/util.php +++ b/lib/util.php @@ -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; -- 2.39.5