--- loncom/auth/lonacc.pm 2021/02/09 22:17:40 1.187 +++ loncom/auth/lonacc.pm 2021/04/18 02:08:46 1.189 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: lonacc.pm,v 1.187 2021/02/09 22:17:40 raeburn Exp $ +# $Id: lonacc.pm,v 1.189 2021/04/18 02:08:46 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -559,7 +559,7 @@ sub handler { my $hostname = $r->hostname(); my $lonhost = &Apache::lonnet::host_from_dns($hostname); if ($lonhost) { - my $actual = &Apache::lonnet::absolute_url($hostname); + my $actual = &Apache::lonnet::absolute_url($hostname,1,1); my $exphostname = &Apache::lonnet::hostname($lonhost); my $expected = $Apache::lonnet::protocol{$lonhost}.'://'.$hostname; unless ($actual eq $expected) { @@ -875,7 +875,7 @@ sub handler { } if ($invalidsymb) { if ($requrl eq '/adm/navmaps') { - undef(symb); + undef($symb); } else { $r->log_reason('Invalid symb for '.$requrl.': '.$symb); $env{'user.error.msg'}=