--- loncom/publisher/loncfile.pm 2004/07/02 08:07:17 1.58 +++ loncom/publisher/loncfile.pm 2004/08/20 16:29:15 1.60 @@ -9,7 +9,7 @@ # and displays a page showing the results of the action. # # -# $Id: loncfile.pm,v 1.58 2004/07/02 08:07:17 albertel Exp $ +# $Id: loncfile.pm,v 1.60 2004/08/20 16:29:15 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -298,7 +298,7 @@ sub cleanDest { } if ($dest=~/[\#\?&%\"]/) { $foundbad=1; - $dest=~s/[\#\?&%]//g; + $dest=~s/[\#\?&%\"]//g; } if ($foundbad) { $request->print("

".&mt('Invalid characters in requested name have been removed.')."

"); @@ -1166,6 +1166,7 @@ sub handler { $r=shift; + &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['decompress','action','filename','newfilename']); &Debug($r, "loncfile.pm - handler entered"); &Debug($r, " filename: ".$ENV{'form.filename'}); @@ -1184,7 +1185,6 @@ sub handler { } elsif($ENV{'QUERY_STRING'} && $ENV{'form.phase'} ne 'two') { #Just hijack the script only the first time around to inject the #correct information for further processing - &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['decompress']); $fn=&Apache::lonnet::unescape($ENV{'form.decompress'}); $fn=&URLToPath($fn); $ENV{'form.action'}="decompress";