--- loncom/publisher/Attic/lonconstruct.pm 2003/11/18 04:08:15 1.19 +++ loncom/publisher/Attic/lonconstruct.pm 2004/03/31 05:24:00 1.22 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construction Space Page Wrapper for Construction # -# $Id: lonconstruct.pm,v 1.19 2003/11/18 04:08:15 taceyjo1 Exp $ +# $Id: lonconstruct.pm,v 1.22 2004/03/31 05:24:00 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -102,7 +102,7 @@ sub handler { &Debug($r, "Initial URL for lower frame: ".$lowerframe); $lowerframe=~s/^\//\/\~/; &Debug($r, "Lower frame URL afer ~ subst: ".$lowerframe); - $lowerframe= &HTML::Entities::encode($lowerframe); + $lowerframe= &HTML::Entities::encode($lowerframe,'<>&"'); &Debug($r, "Lower frame URL after quote subst: ".$lowerframe); # @@ -119,13 +119,6 @@ sub handler { if ($ENV{'form.forceColoredit'}) { $lowerframe.='?editmode=Edit&problemmode=Edit'; } - &Apache::loncommon::get_unprocessed_cgi - ($ENV{'QUERY_STRING'},['decompress']); - if ($ENV{'form.decompress'}) { - &Apache::lonnet::appenv('cgi.path' => $r->path_info); - $lowerframe="http://$ENV{SERVER_NAME}/cgi-bin/decompress.pl"; - - } $r->print(< LON-CAPA Construction Space @@ -134,7 +127,7 @@ var lastknownpriv="$lowerframe"; - +