[LON-CAPA-cvs] cvs: rat / lonsequence.pm

raeburn raeburn at source.lon-capa.org
Mon Apr 19 14:21:13 EDT 2021


raeburn		Mon Apr 19 18:21:13 2021 EDT

  Modified files:              
    /rat	lonsequence.pm 
  Log:
  - lonnet::absolute_url() uses$ENV{'SERVER_NAME'} by default.
  
  
Index: rat/lonsequence.pm
diff -u rat/lonsequence.pm:1.53 rat/lonsequence.pm:1.54
--- rat/lonsequence.pm:1.53	Thu Sep  3 12:44:56 2020
+++ rat/lonsequence.pm	Mon Apr 19 18:21:13 2021
@@ -2,7 +2,7 @@
 #
 # Sequence Handler
 #
-# $Id: lonsequence.pm,v 1.53 2020/09/03 12:44:56 raeburn Exp $
+# $Id: lonsequence.pm,v 1.54 2021/04/19 18:21:13 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -424,7 +424,7 @@
                                     'last_known' => [$disurl,$dismapid]);
       }
       &Apache::loncommon::content_type($r,'text/html');
-      $r->header_out(Location => &Apache::lonnet::absolute_url($ENV{'SERVER_NAME'}).
+      $r->header_out(Location => &Apache::lonnet::absolute_url().
                                  $showdisurl);
       return REDIRECT;
    } else {




More information about the LON-CAPA-cvs mailing list