[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonindexer.pm
raeburn
raeburn at source.lon-capa.org
Wed Jun 5 13:02:23 EDT 2013
raeburn Wed Jun 5 17:02:23 2013 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonindexer.pm
Log:
- For 2.11
- Backport 1.218.
Index: loncom/interface/lonindexer.pm
diff -u loncom/interface/lonindexer.pm:1.213.4.3 loncom/interface/lonindexer.pm:1.213.4.4
--- loncom/interface/lonindexer.pm:1.213.4.3 Mon Aug 27 16:03:24 2012
+++ loncom/interface/lonindexer.pm Wed Jun 5 17:02:23 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Directory Indexer
#
-# $Id: lonindexer.pm,v 1.213.4.3 2012/08/27 16:03:24 raeburn Exp $
+# $Id: lonindexer.pm,v 1.213.4.4 2013/06/05 17:02:23 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1356,7 +1356,7 @@
sub showpreview {
my ($filelink)=@_;
- if ($filelink=~m-^(/ext/|http://)-) {
+ if ($filelink=~m-^(/ext/|https?://)-) {
return &mt('External Resource, preview not enabled');
}
my ($curfext)=($filelink=~/\.(\w+)$/);
More information about the LON-CAPA-cvs
mailing list