--- loncom/auth/lonroles.pm 2008/07/18 16:17:39 1.202 +++ loncom/auth/lonroles.pm 2008/07/30 15:34:34 1.203 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.202 2008/07/18 16:17:39 raeburn Exp $ +# $Id: lonroles.pm,v 1.203 2008/07/30 15:34:34 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -336,6 +336,10 @@ ENDENTERKEY } elsif ($env{'request.course.id'}) { if ($env{'form.destinationurl'}) { my $dest = $env{'form.destinationurl'}; + if ($env{'form.destsymb'} ne '') { + my $esc_symb = &HTML::Entities::encode($env{'form.destsymb'},'"<>&'); + $dest .= '?symb='.$esc_symb; + } &redirect_user($r,&mt('Entering [_1]', $env{'course.'.$courseid.'.description'}), $dest,$msg,