--- loncom/publisher/Attic/lonconstruct.pm 2003/10/19 16:46:16 1.18 +++ 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.18 2003/10/19 16:46:16 taceyjo1 Exp $ +# $Id: lonconstruct.pm,v 1.22 2004/03/31 05:24:00 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -99,11 +99,10 @@ sub handler { return OK if $r->header_only; my $lowerframe=$r->path_info; - &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); # @@ -120,11 +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'}) { - $lowerframe="http://$ENV{'SERVER_NAME'}/cgi-bin/decompress.pl?decompress"; - } $r->print(< LON-CAPA Construction Space @@ -133,7 +127,7 @@ var lastknownpriv="$lowerframe"; - +