--- loncom/lonnet/perl/lonnet.pm 2012/11/29 20:37:19 1.1201 +++ loncom/lonnet/perl/lonnet.pm 2012/11/30 16:46:58 1.1202 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.1201 2012/11/29 20:37:19 raeburn Exp $ +# $Id: lonnet.pm,v 1.1202 2012/11/30 16:46:58 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -10514,11 +10514,11 @@ sub symbverify { } if ($ids) { # ------------------------------------------------------------------- Has ID(s) + if ($thisfn =~ m{^/adm/wrapper/ext/}) { + symb =~ s/\?.+$//; + } foreach my $id (split(/\,/,$ids)) { my ($mapid,$resid)=split(/\./,$id); - if ($thisfn =~ m{^/adm/wrapper/ext/}) { - $symb =~ s/\?.+$//; - } if ( &symbclean(&declutter($bighash{'map_id_'.$mapid}).'___'.$resid.'___'.$thisfn) eq $symb) { @@ -10529,6 +10529,7 @@ sub symbverify { ($bighash{'encrypted_'.$id} eq $env{'request.enc'}) || ($thisurl eq '/adm/navmaps')) { $okay=1; + last; } } }