--- loncom/interface/lonindexer.pm 2012/08/25 19:22:59 1.217 +++ loncom/interface/lonindexer.pm 2013/06/02 01:41:09 1.218 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.217 2012/08/25 19:22:59 raeburn Exp $ +# $Id: lonindexer.pm,v 1.218 2013/06/02 01:41:09 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+)$/);