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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Mon, 25 Jun 2007 23:08:56 -0000


albertel		Mon Jun 25 19:08:56 2007 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - when doing internall ssi, need to encrypt the url if it this request had encing
  
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.894 loncom/lonnet/perl/lonnet.pm:1.895
--- loncom/lonnet/perl/lonnet.pm:1.894	Mon Jun 25 14:12:24 2007
+++ loncom/lonnet/perl/lonnet.pm	Mon Jun 25 19:08:55 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.894 2007/06/25 18:12:24 albertel Exp $
+# $Id: lonnet.pm,v 1.895 2007/06/25 23:08:55 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1396,7 +1396,7 @@
     my $request;
 
     $form{'no_update_last_known'}=1;
-
+    &Apache::lonenc::check_encrypt(\$fn);
     if (%form) {
       $request=new HTTP::Request('POST',&absolute_url().$fn);
       $request->content(join('&',map { &escape($_).'='.&escape($form{$_}) } keys %form));