From 77b7fb6ddb75174af6c83a7c852d3986a1dfa5fa Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 5 Mar 2011 16:32:57 +0000 Subject: fixed two validation issues with ampersands in file plugin git-svn-id: http://code.elgg.org/elgg/trunk@8586 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/views/default/icon/object/file.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod/file/views/default/icon') diff --git a/mod/file/views/default/icon/object/file.php b/mod/file/views/default/icon/object/file.php index 249dd9c99..6357d418f 100644 --- a/mod/file/views/default/icon/object/file.php +++ b/mod/file/views/default/icon/object/file.php @@ -28,6 +28,7 @@ if ($entity->thumbnail) { } $img_src = $entity->getIconURL($vars['size']); +$img_src = elgg_format_url($img_src); $img = "\"$title\""; if ($url) { -- cgit v1.2.3