Skip to content

FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust

security: enforce HTTPS on curl downloads (SonarCloud S6506) (#2720)

Dylan M. Taylor45901fccd06f
diff --git a/packaging/linux/package.sh b/packaging/linux/package.sh
index 5001bf716..f92544f93 100755
--- a/packaging/linux/package.sh
+++ b/packaging/linux/package.sh
@@ -116,7 +116,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