--- rat/lonwrapper.pm 2020/01/14 16:48:06 1.71 +++ rat/lonwrapper.pm 2020/02/16 21:57:49 1.72 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Wrapper for external and binary files as standalone resources # -# $Id: lonwrapper.pm,v 1.71 2020/01/14 16:48:06 raeburn Exp $ +# $Id: lonwrapper.pm,v 1.72 2020/02/16 21:57:49 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -293,7 +293,7 @@ sub handler { for ($url){ s|^/adm/wrapper||; $is_ext = $_ =~ s|^/ext/|http://|; - s|http://https://|https://|; + s|http://https://?|https://| if ($is_ext); s|:|:|g; }