--- loncom/lonnet/perl/lonnet.pm 2002/05/27 19:03:59 1.234 +++ loncom/lonnet/perl/lonnet.pm 2002/05/29 14:10:28 1.235 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.234 2002/05/27 19:03:59 www Exp $ +# $Id: lonnet.pm,v 1.235 2002/05/29 14:10:28 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1737,7 +1737,6 @@ sub is_on_map { $pathname=~s/\/$filename$//; my $match=($ENV{'acc.res.'.$ENV{'request.course.id'}.'.'.$pathname}=~ /\&$filename\:([\d\|]+)\&/); - &logthis('is: '.$uri.' '.$match.' '.$1); if ($match) { return (1,$1); } else { @@ -2788,6 +2787,7 @@ sub declutter { $thisfn=~s/^$perlvar{'lonDocRoot'}//; $thisfn=~s/^\///; $thisfn=~s/^res\///; + $thisfn=~s/\?.+$//; return $thisfn; }