--- loncom/lonnet/perl/lonnet.pm 2003/10/12 22:02:44 1.430 +++ loncom/lonnet/perl/lonnet.pm 2003/10/22 18:29:28 1.431 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.430 2003/10/12 22:02:44 www Exp $ +# $Id: lonnet.pm,v 1.431 2003/10/22 18:29:28 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4037,17 +4037,18 @@ sub symblist { sub symbverify { my ($symb,$thisfn)=@_; - $thisfn=&declutter($thisfn); + $thisfn=&symbclean(&declutter($thisfn)); # direct jump to resource in page or to a sequence - will construct own symbs if ($thisfn=~/\.(page|sequence)$/) { return 1; } # check URL part my ($map,$resid,$url)=&decode_symb($symb); - unless (&symbclean($url) eq &symbclean($thisfn)) { return 0; } + unless ($url eq $thisfn) { return 0; } $symb=&symbclean($symb); my %bighash; my $okay=0; + if (tie(%bighash,'GDBM_File',$ENV{'request.course.fn'}.'.db', &GDBM_READER(),0640)) { my $ids=$bighash{'ids_'.&clutter($thisfn)};