--- loncom/lontrans.pm 2021/07/17 20:34:15 1.32 +++ loncom/lontrans.pm 2021/07/17 21:48:27 1.33 @@ -1,7 +1,7 @@ # The LearningOnline Network # URL translation for User Files # -# $Id: lontrans.pm,v 1.32 2021/07/17 20:34:15 raeburn Exp $ +# $Id: lontrans.pm,v 1.33 2021/07/17 21:48:27 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -111,6 +111,9 @@ sub handler { $protocol = 'https'; } my $querystring = $r->args; + if ($uri =~ m{^(/adm/css/)(.+)(.css)$}) { + $uri = $1.&escape($2).$3; + } my $location = $protocol.'://'.$redirect.$uri; if ($querystring) { $location .= "?$querystring";