--- loncom/interface/londocs.pm 2005/08/01 17:24:18 1.200 +++ loncom/interface/londocs.pm 2005/08/24 21:08:14 1.201 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.200 2005/08/01 17:24:18 raeburn Exp $ +# $Id: londocs.pm,v 1.201 2005/08/24 21:08:14 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -155,7 +155,9 @@ sub dumpcourse { my ($ca,$cd)=split(/\@/,$env{'form.authorspace'}); $r->print('

'.&mt('Copying Files').'

'); my $title=$env{'form.authorfolder'}; + my ($ext)=($title=~s/\.(\w+)$//); $title=&clean($title); + $title.='.'.$ext; my %replacehash=(); foreach (keys %env) { if ($_=~/^form\.namefor\_(.+)/) {