--- loncom/interface/lonindexer.pm 2012/08/27 16:03:24 1.213.4.3 +++ loncom/interface/lonindexer.pm 2013/06/05 17:02:23 1.213.4.4 @@ -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 coursecontext { 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+)$/);