--- loncom/imspackages/imsimport.pm 2008/08/24 13:48:40 1.23 +++ loncom/imspackages/imsimport.pm 2009/04/04 21:45:53 1.28 @@ -1,3 +1,7 @@ +# The LearningOnline Network with CAPA +# +# $Id: imsimport.pm,v 1.28 2009/04/04 21:45:53 bisitz Exp $ +# # Copyright Michigan State University Board of Trustees # # This file is part of the LearningOnline Network with CAPA (LON-CAPA). @@ -292,7 +296,7 @@ sub display_one { &Apache::lonhtmlcommon::topic_bar(1,&mt('Specify the Course Management system used to create the package')). &mt('Choose the CMS used to create your IMS content package.').'   - - + + '."\n"); if ($count{board} == 0) { $r->print(''."\n"); @@ -718,7 +722,7 @@ sub handler { my $fn; if ($env{'form.filename'}) { $fn=$env{'form.filename'}; - $fn=~s/^http\:\/\/[^\/]+\///; + $fn=~s/^https?\:\/\/[^\/]+\///; $fn=~s/^\///; $fn=~s/(\~|priv\/)($LONCAPA::username_re)//; $fn=~s/\/+/\//g;