aboutsummaryrefslogtreecommitdiffstats
path: root/mod/parse_url.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-10 03:36:12 -0700
committerFriendika <info@friendika.com>2011-04-10 03:36:12 -0700
commit58508201a5fe1f4c3bd6bb93e626c46739afda46 (patch)
tree5b6dbdd21e29cb13b42e73eb624beed1124882cb /mod/parse_url.php
parentbf865f0210aee4c6742b10bb63cd05f0de9b9d12 (diff)
downloadvolse-hubzilla-58508201a5fe1f4c3bd6bb93e626c46739afda46.tar.gz
volse-hubzilla-58508201a5fe1f4c3bd6bb93e626c46739afda46.tar.bz2
volse-hubzilla-58508201a5fe1f4c3bd6bb93e626c46739afda46.zip
bug #37, ampersand + everything following in url is stripped when using link icon to share link
Diffstat (limited to 'mod/parse_url.php')
-rw-r--r--mod/parse_url.php6
1 files changed, 5 insertions, 1 deletions
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;