From 58508201a5fe1f4c3bd6bb93e626c46739afda46 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 10 Apr 2011 03:36:12 -0700 Subject: bug #37, ampersand + everything following in url is stripped when using link icon to share link --- mod/parse_url.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mod/parse_url.php') diff --git a/mod/parse_url.php b/mod/parse_url.php index b3b42b6cb..a65215ca1 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -5,7 +5,11 @@ require_once('library/HTML5/Parser.php'); function parse_url_content(&$a) { - $url = trim($_GET['url']); + logger('parse_url: ' . $_GET['url']); + + $url = trim(hex2bin($_GET['url'])); + + logger('parse_url: ' . $url); $text = null; -- cgit v1.2.3