From eef34d8d9dbb10066ebf0ae8e8013d97df16139d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Sat, 20 Nov 2021 17:33:20 +0100 Subject: [PATCH] fix t.php --- src/Jirafeau/t.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jirafeau/t.php b/src/Jirafeau/t.php index e8b2355..8dc8cd3 100644 --- a/src/Jirafeau/t.php +++ b/src/Jirafeau/t.php @@ -99,7 +99,7 @@ if (!is_file ($tmpFileName.".zip")) header ("HTTP/1.0 200 OK"); header ("Content-Type: application/zip"); -header ('Content-Disposition: filename="'.$dirname.".zip\"'"); +header ('Content-Disposition: filename="'.$dirname.'.zip"'); $r = fopen($tmpFileName.".zip", 'r'); while (!feof ($r)) { print fread ($r, 1024);