--- loncom/homework/daxepage.pm 2015/12/10 16:26:43 1.1 +++ loncom/homework/daxepage.pm 2016/01/06 16:44:30 1.2 @@ -1,7 +1,7 @@ # The LearningOnline Network # Page with Daxe on the left side and the preview on the right side # -# $Id: daxepage.pm,v 1.1 2015/12/10 16:26:43 damieng Exp $ +# $Id: daxepage.pm,v 1.2 2016/01/06 16:44:30 damieng Exp $ # # Copyright Michigan State University Board of Trustees # @@ -36,7 +36,7 @@ sub handler { my $uri = $request->uri; $uri =~ s/^\/daxepage//; &Apache::loncommon::no_cache($request); - if ($uri !~ /\.(task|problem|exam|quiz|assess|survey|library)$/) { + if ($uri !~ /\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$/) { $request->status(406); return OK; }