--- loncom/lonnet/perl/lonnet.pm 2003/06/11 14:41:24 1.379 +++ loncom/lonnet/perl/lonnet.pm 2003/06/18 19:10:23 1.381 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.379 2003/06/11 14:41:24 matthew Exp $ +# $Id: lonnet.pm,v 1.381 2003/06/18 19:10:23 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -982,9 +982,9 @@ sub repcopy { # ------------------------------------------------ Get server side include body sub ssi_body { - my $filelink=shift; + my ($filelink,%form)=@_; my $output=($filelink=~/^http\:/?&externalssi($filelink): - &ssi($filelink)); + &ssi($filelink,%form)); $output=~s/^.*\]*\>//si; $output=~s/\<\/body\s*\>.*$//si; $output=~ @@ -1643,7 +1643,7 @@ sub tmpreset { my ($symb,$namespace,$domain,$stuname) = @_; if (!$symb) { $symb=&symbread(); - if (!$symb) { $symb= $ENV{'REQUEST_URI'}; } + if (!$symb) { $symb= $ENV{'request.url'}; } } $symb=escape($symb);