--- loncom/interface/lonwhatsnew.pm 2016/11/08 23:55:48 1.122 +++ loncom/interface/lonwhatsnew.pm 2017/09/13 22:30:20 1.124 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.122 2016/11/08 23:55:48 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.124 2017/09/13 22:30:20 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1241,7 +1241,7 @@ sub get_current { sub process_reset { my ($dom,$crs,$checkallowed) = @_; if (!$checkallowed->{'resetcounters'}) { - return ''.&mt('You do not the required privileges to reset counters'). + return ''.&mt('You do not have the required privileges to reset counters'). '
'; } my $result = ''.&mt('Counters reset for following problems (and parts):'). @@ -1325,6 +1325,7 @@ sub getnormalmail { if ($emailstatus{$msgid} eq 'new') { $skipstatus = 1; } + my $esc_msgid = &escape($msgid); my ($sendtime,$shortsubj,$fromname,$fromdom,$status,$fromcid)= &Apache::lonmsg::unpackmsgid($msgid,undef,$skipstatus,undef, $env{'request.course.id'}); @@ -1337,7 +1338,7 @@ sub getnormalmail { $shortsubj = &mt('No subject'); } push(@{$newmsgs}, { - msgid => $msgid, + msgid => $esc_msgid, sendtime => $sendtime, shortsub => $shortsubj, from => $fromname,