From e2df3ea1f93e6b17023fe1e774368f38a5f749b3 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 8 Aug 2024 03:16:20 -0400 Subject: sbodl: disable content-disposition for sourceforge.net --- sbodl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sbodl b/sbodl index dc2944a..1623463 100755 --- a/sbodl +++ b/sbodl @@ -242,7 +242,9 @@ for dl in $DL; do EXTRAWGETARGS="$CONTDISP" case "$dl" in - *sourceforge.net/*|*.sf.net/*) EXTRAWGETARGS="$EXTRAWGETARGS --user-agent wget" ;; + # sourceforge can't use content-disposition, because some of its + # mirrors add '?viasf=1' to the filename in the header. + *sourceforge.net/*|*.sf.net/*) EXTRAWGETARGS="--user-agent wget" ;; *) ;; esac -- cgit v1.2.3