--- loncom/interface/lonprintout.pm 2017/01/29 23:34:58 1.654 +++ loncom/interface/lonprintout.pm 2017/01/29 23:53:55 1.655 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.654 2017/01/29 23:34:58 raeburn Exp $ +# $Id: lonprintout.pm,v 1.655 2017/01/29 23:53:55 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -40,6 +40,7 @@ use Apache::admannotations; use Apache::lonenc; use Apache::entities; use Apache::londefdef; +use LONCAPA; # use Apache::structurelags; # for language management. use File::Basename; @@ -3536,7 +3537,7 @@ ENDPART 'cgi.'.$identifier.'.role' => $perm{'pav'}, 'cgi.'.$identifier.'.numberoffiles' => $#print_array, 'cgi.'.$identifier.'.studentnames' => $student_names, - 'cgi.'.$identifier.'.backref' => $URLback,}); + 'cgi.'.$identifier.'.backref' => &escape($URLback),}); &Apache::lonnet::appenv({"cgi.$identifier.user" => $env{'user.name'}, "cgi.$identifier.domain" => $env{'user.domain'}, "cgi.$identifier.courseid" => $cnum,