[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

raeburn raeburn@source.lon-capa.org
Fri, 21 Jan 2011 12:08:28 -0000


raeburn		Fri Jan 21 12:08:28 2011 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Bug 6419. Disregard encrypted URL check for Course Contents item in course.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1100 loncom/lonnet/perl/lonnet.pm:1.1101
--- loncom/lonnet/perl/lonnet.pm:1.1100	Tue Jan 18 20:19:29 2011
+++ loncom/lonnet/perl/lonnet.pm	Fri Jan 21 12:08:28 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1100 2011/01/18 20:19:29 raeburn Exp $
+# $Id: lonnet.pm,v 1.1101 2011/01/21 12:08:28 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -8932,7 +8932,8 @@
   &symbclean(&declutter($bighash{'map_id_'.$mapid}).'___'.$resid.'___'.$thisfn)
    eq $symb) { 
 		   if (($env{'request.role.adv'}) ||
-		       $bighash{'encrypted_'.$id} eq $env{'request.enc'}) {
+		       ($bighash{'encrypted_'.$id} eq $env{'request.enc'}) ||
+                       ($thisurl eq '/adm/navmaps')) {
 		       $okay=1; 
 		   }
 	       }