From dfa5d257c3e75a9c428998b7f82bbee7ae7e3320 Mon Sep 17 00:00:00 2001 From: Latif Khalifa Date: Sun, 6 Oct 2013 20:34:28 +0200 Subject: [PATCH] Set proper content type for minidump downloads --- htdocs/download.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/download.php b/htdocs/download.php index 25d9253..f7baade 100644 --- a/htdocs/download.php +++ b/htdocs/download.php @@ -14,4 +14,5 @@ if (!$miniDump || !($miniDump->getData())) return; } +header("Content-Type: application/octet-stream"); http::sendDownload("singularity" . ((int)$_GET["report_id"]) . ".dmp", $miniDump->getData()); \ No newline at end of file