--- rat/lonwrapper.pm 2008/12/21 04:49:58 1.28.2.1 +++ rat/lonwrapper.pm 2008/11/10 13:22:23 1.29 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Wrapper for external and binary files as standalone resources # -# $Id: lonwrapper.pm,v 1.28.2.1 2008/12/21 04:49:58 raeburn Exp $ +# $Id: lonwrapper.pm,v 1.29 2008/11/10 13:22:23 jms Exp $ # # Copyright Michigan State University Board of Trustees # @@ -26,6 +26,24 @@ # http://www.lon-capa.org/ # +=pod + +=head1 NAME + +Apache::lonwrapper - External and binary file management. + +=head1 SYNOPSIS + +Wrapper for external and binary files as standalone resources. Edit handler for rat maps; TeX content handler. + +This is part of the LearningOnline Network with CAPA project +described at http://www.lon-capa.org. + +=head2 Subroutines + +=cut + + package Apache::lonwrapper; use strict; @@ -88,7 +106,7 @@ sub wrapper { &Apache::loncommon::end_page({'frameset' => 1}); foreach my $url ($topurl,$bottomurl) { - if ($url !~ /^https?\:/) { + if ($url !~ /^http:/) { $url = &Apache::lonenc::check_encrypt($url); } } @@ -157,6 +175,8 @@ __END__ + +