From d247338c13d80e1c60c0b9bec2d79a568a8b6d30 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 26 Nov 2023 22:25:59 +0200 Subject: [PATCH] update download snap filename --- src/webui/api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webui/api.php b/src/webui/api.php index b45d4f3..f9d243b 100644 --- a/src/webui/api.php +++ b/src/webui/api.php @@ -136,7 +136,8 @@ switch (!empty($_GET['action']) ? $_GET['action'] : false) { header( sprintf( - 'Content-Disposition: filename="%s"', + 'Content-Disposition: filename="snap.%s.%s"', + $_GET['md5url'], basename( $filename )