--- loncom/interface/loncommon.pm 2008/12/18 08:33:11 1.723
+++ loncom/interface/loncommon.pm 2008/12/21 22:02:39 1.727
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.723 2008/12/18 08:33:11 riegler Exp $
+# $Id: loncommon.pm,v 1.727 2008/12/21 22:02:39 riegler Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3168,7 +3168,7 @@ sub relative_to_absolute {
}
$thisdir=~s-/[^/]*$--;
foreach my $link (@rlinks) {
- unless (($link=~/^http:\/\//i) ||
+ unless (($link=~/^https?\:\/\//i) ||
($link=~/^\//) ||
($link=~/^javascript:/i) ||
($link=~/^mailto:/i) ||
@@ -7943,7 +7943,7 @@ sub upfile_select_html {
# xml => &mt('HTML/XML'),
);
my $Str = ''.
- '
Type: