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

raeburn raeburn@source.lon-capa.org
Sun, 21 Dec 2008 04:29:47 -0000


raeburn		Sun Dec 21 04:29:47 2008 EDT

  Modified files:              (Branch: version_2_8_X)
    /rat	lonpage.pm 
  Log:
  - Backport 1.90, 1.91.
  
  
Index: rat/lonpage.pm
diff -u rat/lonpage.pm:1.87 rat/lonpage.pm:1.87.2.1
--- rat/lonpage.pm:1.87	Fri Nov 30 19:14:14 2007
+++ rat/lonpage.pm	Sun Dec 21 04:29:47 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Page Handler
 #
-# $Id: lonpage.pm,v 1.87 2007/11/30 19:14:14 albertel Exp $
+# $Id: lonpage.pm,v 1.87.2.1 2008/12/21 04:29:47 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -339,7 +339,7 @@
                               }
                               $thisdir=~s/\/[^\/]*$//;
 			      foreach (@rlinks) {
-				  unless (($_=~/^http:\/\//i) ||
+				  unless (($_=~/^https?\:\/\//i) ||
 					  ($_=~/^\//) ||
 					  ($_=~/^javascript:/i) ||
 					  ($_=~/^mailto:/i) ||