aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsbodl4
1 files changed, 3 insertions, 1 deletions
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