--- rat/lonpage.pm 2007/06/22 21:24:54 1.80
+++ rat/lonpage.pm 2007/06/22 22:30:45 1.81
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Page Handler
#
-# $Id: lonpage.pm,v 1.80 2007/06/22 21:24:54 albertel Exp $
+# $Id: lonpage.pm,v 1.81 2007/06/22 22:30:45 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -432,7 +432,10 @@ sub handler {
$symb=&Apache::lonenc::encrypted($symb);
$esrc=&Apache::lonenc::encrypted($esrc);
}
- unless ($hash{'src_'.$rid} =~ m-^/uploaded/-) {
+ if ($hash{'src_'.$rid} !~ m-^/uploaded/-
+ && !$env{'request.enc'}
+ && ($env{'request.role.adv'}
+ || !$hash{'encrypted_'.$rid})) {
$metainfo =''.
''.
''.