diff options
author | millette <millette@controlyourself.ca> | 2008-11-14 14:26:49 -0500 |
---|---|---|
committer | millette <millette@controlyourself.ca> | 2008-11-14 14:26:49 -0500 |
commit | 1227c9c2c2abda49894a94d26cacb2e73117e15b (patch) | |
tree | bbd1897acdcc53028899e55891bc89122ed0edc2 | |
parent | 6880084e6bd5f420f6770e5cb84b92ceccd2abb4 (diff) |
fix longurl title attribute, removing extra backslashes.
darcs-hash:20081114192649-099f7-338368278173f5fa130e508316f5b8b252d90214.gz
-rw-r--r-- | lib/util.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php index 7940f683e..be391c785 100644 --- a/lib/util.php +++ b/lib/util.php @@ -757,7 +757,7 @@ function common_longurl($uri) { $uri_e = urlencode($uri); $longurl = unserialize(file_get_contents("http://api.longurl.org/v1/expand?format=php&url=$uri_e")); if (empty($longurl['long_url']) || $uri === $longurl['long_url']) return false; - return $longurl['long_url']; + return stripslashes($longurl['long_url']); } function common_shorten_links($text) { |