--- loncom/interface/londocs.pm 2017/05/19 20:00:45 1.484.2.72 +++ loncom/interface/londocs.pm 2017/11/10 15:52:26 1.484.2.75 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.484.2.72 2017/05/19 20:00:45 raeburn Exp $ +# $Id: londocs.pm,v 1.484.2.75 2017/11/10 15:52:26 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -3746,7 +3746,7 @@ END } } if ($url ne '') { - $url.=(($url=~/\?/)?'&':'?').'symb='.&HTML::Entities::encode($shownsymb,'"<>&'); + $url.=(($url=~/\?/)?'&':'?').'symb='.&escape($shownsymb); } } elsif (!$env{'request.role.adv'}) { my $checkencrypt; @@ -5112,6 +5112,7 @@ sub handler { undef($hadchanges); $uploadphase = &process_file_upload(\$upload_output,$coursenum,$coursedom, \%allfiles,\%codebase,$context,$crstype); + undef($navmap); if ($hadchanges) { &mark_hash_old(); } @@ -5633,7 +5634,9 @@ unless ($container eq 'page') { $r->print('

'.$error.'

'); } if ($hadchanges) { - &mark_hash_old(); + unless (&is_hash_old()) { + &mark_hash_old(); + } } &changewarning($r,'');