This will be fixed in 6.5.10 next week. In the meantime, here's the fix...
Code:
diff --git a/sugarcrm/download.php b/sugarcrm/download.php
index c9988ef..927d036 100644
--- a/sugarcrm/download.php
+++ b/sugarcrm/download.php
@@ -191,10 +191,8 @@
{
header("Content-type: application/octet-stream");
}
-
- if (!$check_image) {
- header("Content-Disposition: attachment; filename=\"".$name."\";");
- }
+ header("Content-Disposition: attachment; filename=\"".$name."\";");
+
}
// disable content type sniffing in MSIE
header("X-Content-Type-Options: nosniff");
Bookmarks