From dae1ef28da65e3a52d9bb29b9134e67f841f7a69 Mon Sep 17 00:00:00 2001 From: uAliAmer Date: Sat, 21 Mar 2026 01:12:35 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20backup=20download=20link=20=E2=80=94=20mi?= =?UTF-8?q?ssing=20file=3D=20query=20parameter?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The download link was generated as /admin/backups/?filename.zip but the download handler checks $_GET['file'], so the handler was never triggered. The browser navigated to the page instead of downloading the file, causing a JS error. Changed: url('admin/backups') . '/?' . $entry To: url('admin/backups') . '?file=' . $entry --- resources/views/components/config/backups.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/components/config/backups.blade.php b/resources/views/components/config/backups.blade.php index 08f3f969..2fc54fba 100644 --- a/resources/views/components/config/backups.blade.php +++ b/resources/views/components/config/backups.blade.php @@ -113,7 +113,7 @@ while (false !== ($entry = readdir($handle))) { if ($entry != '.' && $entry != '..') { $entrys = substr($entry, 17); - echo '
  '; + echo '
'; }