--- loncom/interface/printout.pl 2004/11/13 08:25:41 1.70 +++ loncom/interface/printout.pl 2004/12/20 21:15:20 1.71 @@ -1,7 +1,7 @@ #!/usr/bin/perl # CGI-script to run LaTeX, dvips, ps2ps, ps2pdf etc. # -# $Id: printout.pl,v 1.70 2004/11/13 08:25:41 albertel Exp $ +# $Id: printout.pl,v 1.71 2004/12/20 21:15:20 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -32,6 +32,7 @@ use File::Path; use IO::File; use Image::Magick; use Apache::lonhtmlcommon; +use Apache::lonnet(); use Apache::loncommon; use Apache::lonlocal; @@ -67,7 +68,7 @@ END my $advans_role = $ENV{'cgi.'.$identifier.'role'}; my $number_of_files = $ENV{'cgi.'.$identifier.'numberoffiles'}+1; my $student_names = $ENV{'cgi.'.$identifier.'studentnames'}; - my $backref = $ENV{'cgi.'.$identifier.'backref'}; + my $backref = &Apache::lonnet::unescape($ENV{'cgi.'.$identifier.'backref'}); my $adv = $ENV{'request.role.adv'};