--- loncom/auth/lonroles.pm 2011/10/21 16:28:49 1.262 +++ loncom/auth/lonroles.pm 2011/10/25 15:15:02 1.263 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.262 2011/10/21 16:28:49 www Exp $ +# $Id: lonroles.pm,v 1.263 2011/10/25 15:15:02 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -603,8 +603,7 @@ ENDENTERKEY if ($role eq 'au') { $redirect_url.=$env{'user.domain'}.'/'.$env{'user.name'}; } else { - $where =~ /\/(.*)$/; - $redirect_url .= $1; + $redirect_url .= $where; } $redirect_url .= '/'; &redirect_user($r,&mt('Entering Construction Space'),