[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lon-capa-cvs
Subject:    [LON-CAPA-cvs] cvs: rat / lonwrapper.pm
From:       albertel <lon-capa-cvs () mail ! lon-capa ! org>
Date:       2006-09-29 18:35:43
Message-ID: cvsalbertel1159554943 () cvsserver
[Download RAW message or body]

albertel		Fri Sep 29 14:35:43 2006 EDT

  Modified files:              
    /rat	lonwrapper.pm 
  Log:
  - bug#5029, might need to enc urls in the frameset
  
  
Index: rat/lonwrapper.pm
diff -u rat/lonwrapper.pm:1.23 rat/lonwrapper.pm:1.24
--- rat/lonwrapper.pm:1.23	Tue Apr 11 15:42:32 2006
+++ rat/lonwrapper.pm	Fri Sep 29 14:35:42 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Wrapper for external and binary files as standalone resources
 #
-# $Id: lonwrapper.pm,v 1.23 2006/04/11 19:42:32 albertel Exp $
+# $Id: lonwrapper.pm,v 1.24 2006/09/29 18:35:42 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -32,7 +32,8 @@
 use Apache::Constants qw(:common);
 use Apache::lonnet;
 use Apache::lonxml();
-use Apache::lonmenu;
+use Apache::lonenc();
+use Apache::lonmenu();
 
 # ================================================================ Main Handler
 
@@ -81,8 +82,12 @@
 
     my $end_page = 
 	&Apache::loncommon::end_page({'frameset' => 1});
-
-  
+    
+    foreach my $url ($topurl,$bottomurl) {
+	if ($url !~ /^http:/) {
+	    $url = &Apache::lonenc::check_encrypt($url);
+	}
+    }
 #
 # frame-based rendering for graphical interface
 #


_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic