diff --git a/felamimail/inc/class.uicompose.inc.php b/felamimail/inc/class.uicompose.inc.php index d70b32221e..fc279c68c5 100644 --- a/felamimail/inc/class.uicompose.inc.php +++ b/felamimail/inc/class.uicompose.inc.php @@ -352,7 +352,7 @@ 'name' => $name, 'type' => $type, 'file' => $path, - 'size' => filesize($path), + 'size' => filesize(urldecode($path)), ); if ($formData['type'] == egw_vfs::DIR_MIME_TYPE) continue; // ignore directories }