sforkowany z mirror/friendica
Bugfix: The url in attachments had problems with entities
rodzic
3ba026b501
commit
36063b47ab
|
@ -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;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue