Merge pull request #378 from storytold/sonar/appimagetool-https

packaging(linux): refuse non-HTTPS redirects when fetching appimagetool
This commit is contained in:
FredApps authored and GitHub committed 2026-11-10 18:43:35 +01:00
commit b855e542fb
1 file changed
+1 -1
+1 -1
View File
@@ -113,7 +113,7 @@ if has appimage; then
if [ -z "$TOOL" ]; then
TOOL="$CARGO_TARGET_DIR/appimagetool-$ARCH.AppImage"
if [ ! -x "$TOOL" ]; then
curl -fsSL -o "$TOOL" "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-$ARCH.AppImage"
curl --proto '=https' -fsSL -o "$TOOL" "https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-$ARCH.AppImage"
chmod +x "$TOOL"
fi
fi