From d671227310ba10b5d5f73c4f483bbe46ed7aa54d Mon Sep 17 00:00:00 2001 From: "CanbiZ (MickLesk)" <47820557+MickLesk@users.noreply.github.com> Date: Thu, 30 Apr 2026 20:20:50 +0200 Subject: [PATCH] Update misc/tools.func MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com> --- misc/tools.func | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index dbb2e5a3c..c57a6c5cd 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -8675,8 +8675,7 @@ get_latest_gitlab_release() { local strip_v="${2:-true}" local repo_encoded - repo_encoded=$(python3 -c "import urllib.parse, sys; print(urllib.parse.quote(sys.argv[1], safe=''))" "$repo" 2>/dev/null || - echo "$repo" | sed 's|/|%2F|g') + repo_encoded=$(printf '%s' "$repo" | sed 's|/|%2F|g') local header=() [[ -n "${GITLAB_TOKEN:-}" ]] && header=(-H "PRIVATE-TOKEN: $GITLAB_TOKEN")