From 15d22d7f9815d3e28819ac8218e06b09e8ecf4fd Mon Sep 17 00:00:00 2001 From: MickLesk Date: Tue, 6 Jan 2026 20:24:31 +0100 Subject: [PATCH] filename fix --- misc/tools.func | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/misc/tools.func b/misc/tools.func index 4538f067c..1a58ab825 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -1763,7 +1763,9 @@ function fetch_and_deploy_gh_release() { local tag_encoded tag_encoded=$(printf '%s' "$tag_name" | jq -sRr @uri) local direct_tarball_url="https://github.com/$repo/archive/refs/tags/$tag_encoded.tar.gz" - filename="${app_lc}-${version}.tar.gz" + # Sanitize version for filename (replace / with -) + local version_safe="${version//\//-}" + filename="${app_lc}-${version_safe}.tar.gz" curl $download_timeout -fsSL -o "$tmpdir/$filename" "$direct_tarball_url" || { msg_error "Download failed: $direct_tarball_url"