[LON-CAPA-cvs] cvs: rat(version_2_8_X) / lonpageflip.pm

raeburn raeburn@source.lon-capa.org
Sun, 21 Dec 2008 05:00:52 -0000


raeburn		Sun Dec 21 05:00:52 2008 EDT

  Modified files:              (Branch: version_2_8_X)
    /rat	lonpageflip.pm 
  Log:
  - Backport 1.78.
  
  
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.75 rat/lonpageflip.pm:1.75.2.1
--- rat/lonpageflip.pm:1.75	Wed Mar 12 02:45:50 2008
+++ rat/lonpageflip.pm	Sun Dec 21 05:00:52 2008
@@ -2,7 +2,7 @@
 #
 # Page flip handler
 #
-# $Id: lonpageflip.pm,v 1.75 2008/03/12 02:45:50 raeburn Exp $
+# $Id: lonpageflip.pm,v 1.75.2.1 2008/12/21 05:00:52 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -335,7 +335,7 @@
 	     return REDIRECT;
 	 }
       }
-      $currenturl=~s/^http\:\/\///;
+      $currenturl=~s/^https?\:\/\///;
       $currenturl=~s/^[^\/]+//;
 #
 # Is the current URL on the map? If not, start with last known URL