--- loncom/auth/lonroles.pm 2021/04/19 23:07:33 1.347 +++ loncom/auth/lonroles.pm 2021/04/22 20:14:22 1.348 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.347 2021/04/19 23:07:33 raeburn Exp $ +# $Id: lonroles.pm,v 1.348 2021/04/22 20:14:22 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -728,7 +728,7 @@ ENDCLOSE $furl .= '&orgurl='.&HTML::Entities::encode($env{'form.orgurl'},'<>&"'); } if ($env{'form.symb'}) { - $furl .= '&symb='.&HTML::Entities::encode($env{'form.symb'}; + $furl .= '&symb='.&HTML::Entities::encode($env{'form.symb'},'<>&"'); } } if (($ferr) && ($tadv)) { @@ -736,7 +736,7 @@ ENDCLOSE } else { if ($env{'request.course.id'} eq $cdom.'_'.$cnum) { if (($env{'form.orgurl'} ne '') && ($env{'form.symb'} ne '')) { - unless (&Apache::lonnet::symbverify($env{'form.symb'},$env{'form.orgurl'}) { + unless (&Apache::lonnet::symbverify($env{'form.symb'},$env{'form.orgurl'})) { $dest=$env{'form.orgurl'}; } }