--- loncom/lonnet/perl/lonnet.pm 2003/10/31 22:20:37 1.438 +++ loncom/lonnet/perl/lonnet.pm 2003/11/01 16:37:21 1.439 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.438 2003/10/31 22:20:37 www Exp $ +# $Id: lonnet.pm,v 1.439 2003/11/01 16:37:21 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2449,7 +2449,7 @@ sub customaccess { sub allowed { my ($priv,$uri)=@_; - + $uri=&deversion($uri); my $orguri=$uri; $uri=&declutter($uri); @@ -4013,14 +4013,16 @@ sub symblist { sub symbverify { my ($symb,$thisfn)=@_; - $thisfn=&symbclean(&declutter($thisfn)); + $thisfn=&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 ($url eq $thisfn) { return 0; } $symb=&symbclean($symb); + $thisfn=&deversion($thisfn); my %bighash; my $okay=0;