--- rat/lonwrapper.pm 2008/11/20 14:38:00 1.30 +++ rat/lonwrapper.pm 2008/12/19 13:47:40 1.31 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Wrapper for external and binary files as standalone resources # -# $Id: lonwrapper.pm,v 1.30 2008/11/20 14:38:00 jms Exp $ +# $Id: lonwrapper.pm,v 1.31 2008/12/19 13:47:40 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -89,7 +89,7 @@ sub wrapper { &Apache::loncommon::end_page({'frameset' => 1}); foreach my $url ($topurl,$bottomurl) { - if ($url !~ /^http:/) { + if ($url !~ /^https?:/) { $url = &Apache::lonenc::check_encrypt($url); } }