--- loncom/homework/daxeopen.pm 2023/08/23 22:25:48 1.10 +++ loncom/homework/daxeopen.pm 2023/08/23 22:34:48 1.11 @@ -1,7 +1,7 @@ # The LearningOnline Network # Opening converted problems and directory listings for Daxe # -# $Id: daxeopen.pm,v 1.10 2023/08/23 22:25:48 raeburn Exp $ +# $Id: daxeopen.pm,v 1.11 2023/08/23 22:34:48 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -108,7 +108,7 @@ sub directory_listing { $res .= "\n"; $res .= "\n"; $res .= "\n"; - } elsif ($uri !~ /^\/(priv|res)\//) { + } elsif ($uri !~ m{^/(priv|res)/}) { $request->content_type('text/plain'); $request->print(&mt('Not found: [_1]',$uri)); $request->status(404);