From 36063b47abdaf96896f7a7c571ce3b978d2349fb Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 22 May 2016 13:46:05 +0200 Subject: [PATCH] Bugfix: The url in attachments had problems with entities --- include/plaintext.php | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5