]> git.mxchange.org Git - friendica.git/blobdiff - include/html2bbcode.php
Issue 3857: There is the possibility of a bad handling of dislikes
[friendica.git] / include / html2bbcode.php
index a95c08cd564470c1147a58aa360e07a10af8e596..257539b07481d9dc716a778dd2563c2a860afec8 100644 (file)
@@ -340,6 +340,8 @@ function html2bbcode($message, $basepath = '')
  */
 function addHostnameSub($matches, $basepath) {
        $base = parse_url($basepath);
+       unset($base['query']);
+       unset($base['fragment']);
 
        $link = $matches[0];
        $url = $matches[1];