From: Michael Vogel Date: Sun, 22 May 2016 11:46:05 +0000 (+0200) Subject: Bugfix: The url in attachments had problems with entities X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=36063b47abdaf96896f7a7c571ce3b978d2349fb;p=friendica.git Bugfix: The url in attachments had problems with entities --- diff --git a/include/plaintext.php b/include/plaintext.php index 559e0a0e83..92ba8a2756 100644 --- a/include/plaintext.php +++ b/include/plaintext.php @@ -116,6 +116,8 @@ function get_attachment_data($body) { if ($matches[1] != "") $url = $matches[1]; + $url = html_entity_decode($url, ENT_QUOTES, 'UTF-8'); + if ($url != "") $data["url"] = $url;