--- loncom/publisher/loncfile.pm 2009/05/28 17:08:38 1.101 +++ loncom/publisher/loncfile.pm 2009/08/28 01:08:48 1.102 @@ -9,7 +9,7 @@ # and displays a page showing the results of the action. # # -# $Id: loncfile.pm,v 1.101 2009/05/28 17:08:38 bisitz Exp $ +# $Id: loncfile.pm,v 1.102 2009/08/28 01:08:48 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -855,7 +855,7 @@ sub NewFile1 { $extension = $1; } - my @okexts = qw(xml html xhtml htm xhtm problem page sequence rights sty library js css txt); + my @okexts = qw(xml html xhtml htm xhtm problem page sequence rights sty task library js css txt); if (($extension eq '') || (!grep(/^\Q$extension\E/,@okexts))) { my $validexts = '.'.join(', .',@okexts); $request->print('

'.