From 17d04e2d1dc78ab28880fe4fe555867a39400206 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 14 Jan 2026 09:33:37 +0100 Subject: [PATCH] fix space --- misc/tools.func | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/tools.func b/misc/tools.func index 52479f658..f3c288764 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -1770,8 +1770,9 @@ function fetch_and_deploy_gh_release() { if [[ "$mode" == "tarball" || "$mode" == "source" ]]; then # GitHub API's tarball_url/zipball_url can return HTTP 300 Multiple Choices # when a branch and tag share the same name. Use explicit refs/tags/ URL instead. - # URL-encode @ symbols in tag names + # URL-encode special characters in tag names (@ and /) local encoded_tag_name="${tag_name//@/%40}" + encoded_tag_name="${encoded_tag_name//\//%2F}" local direct_tarball_url="https://github.com/$repo/archive/refs/tags/$encoded_tag_name.tar.gz" filename="${app_lc}-${version}.tar.gz"