diff options
-rwxr-xr-x | sbodl | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |