--- loncom/interface/lonprintout.pm 2004/02/17 16:24:24 1.278 +++ loncom/interface/lonprintout.pm 2004/02/18 22:23:19 1.279 @@ -1,7 +1,7 @@ # The LearningOnline Network # Printout # -# $Id: lonprintout.pm,v 1.278 2004/02/17 16:24:24 albertel Exp $ +# $Id: lonprintout.pm,v 1.279 2004/02/18 22:23:19 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1213,7 +1213,10 @@ ENDPART } else { #prints resource from the construction space $URLback='/'.$helper->{'VARS'}->{'filename'}; - if ($URLback=~/([^?]+)/) {$URLback=$1;} + if ($URLback=~/([^?]+)/) { + $URLback=$1; + $URLback=~s|^/~|/priv/|; + } } &Apache::lonnet::appenv('cgi.'.$identifier.'.file' => $filename,