--- loncom/auth/checkauthen.pm 2015/09/21 14:25:03 1.19 +++ loncom/auth/checkauthen.pm 2018/11/25 02:49:26 1.20 @@ -1,7 +1,7 @@ # The LearningOnline Network # checks for a cookie to authenticate a user # -# $Id: checkauthen.pm,v 1.19 2015/09/21 14:25:03 raeburn Exp $ +# $Id: checkauthen.pm,v 1.20 2018/11/25 02:49:26 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -99,7 +99,7 @@ sub handler { } if (($fail == FORBIDDEN) && (($r->uri eq '/adm/email') || ($r->uri eq '/adm/preferences') || - ($r->uri eq '/adm/requestcourse'))) { + ($r->uri eq '/adm/requestcourse') || ($r->uri =~ m{^/tiny/[\w\-.]+/\w+$}))) { $env{'form.firsturl'} = $r->uri; } return $fail;