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

raeburn raeburn@source.lon-capa.org
Fri, 19 Dec 2008 14:12:56 -0000


raeburn		Fri Dec 19 14:12:56 2008 EDT

  Modified files:              
    /rat	lonpageflip.pm 
  Log:
  - Regular Expression for both http and https.
  
  
Index: rat/lonpageflip.pm
diff -u rat/lonpageflip.pm:1.77 rat/lonpageflip.pm:1.78
--- rat/lonpageflip.pm:1.77	Thu Nov 20 15:19:05 2008
+++ rat/lonpageflip.pm	Fri Dec 19 14:12:55 2008
@@ -2,7 +2,7 @@
 #
 # Page flip handler
 #
-# $Id: lonpageflip.pm,v 1.77 2008/11/20 15:19:05 jms Exp $
+# $Id: lonpageflip.pm,v 1.78 2008/12/19 14:12:55 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -337,7 +337,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