aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/parse_url.php6
-rw-r--r--mod/share.php2
2 files changed, 6 insertions, 2 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;
diff --git a/mod/share.php b/mod/share.php
index 94cd035b4..f355a842a 100644
--- a/mod/share.php
+++ b/mod/share.php
@@ -20,4 +20,4 @@ function share_init(&$a) {
$o .= bbcode($r[0]['body'], true);
echo $o . '<br />';
killme();
-} \ No newline at end of file
+}