--- loncom/xml/lonxml.pm 2012/11/30 11:45:57 1.535 +++ loncom/xml/lonxml.pm 2012/12/07 17:16:01 1.537 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # XML Parser Module # -# $Id: lonxml.pm,v 1.535 2012/11/30 11:45:57 foxr Exp $ +# $Id: lonxml.pm,v 1.537 2012/12/07 17:16:01 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1670,6 +1670,11 @@ sub handler { } else { $filetype='html'; } + unless ($env{'request.uri'}) { + $env{'request.uri'}=$request->uri; + &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'}, + ['todocs']); + } if ($filetype eq 'sty') { $breadcrumbtext = 'Style File Editor'; } elsif ($filetype eq 'js') {