Bugfix: The url in attachments had problems with entities

This commit is contained in:
Michael Vogel 2016-05-22 13:46:05 +02:00
parent 3ba026b501
commit 36063b47ab
1 changed files with 2 additions and 0 deletions

View File

@ -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;