--- loncom/auth/lonacc.pm 2003/02/28 18:14:44 1.39 +++ loncom/auth/lonacc.pm 2003/04/02 14:57:32 1.40 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: lonacc.pm,v 1.39 2003/02/28 18:14:44 www Exp $ +# $Id: lonacc.pm,v 1.40 2003/04/02 14:57:32 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -228,10 +228,11 @@ sub handler { # -------------------------------------------------------------- Not authorized $requrl=~/\.(\w+)$/; if ((&Apache::loncommon::fileembstyle($1) eq 'ssi') || - ($requrl=~/^\/adm\/(roles|logout)/) || + ($requrl=~/^\/adm\/(roles|logout|email)/) || ($requrl=~m|^/prtspool/|)) { # -------------------------- Store where they wanted to go and get login screen - $ENV{'request.firsturl'}=$requrl; + $ENV{'request.querystring'}=$r->args; + $ENV{'request.firsturl'}=$requrl; return FORBIDDEN; } else { # --------------------------------------------------------------------- Goodbye