--- loncom/auth/lonacc.pm 2017/12/21 22:06:44 1.168 +++ loncom/auth/lonacc.pm 2018/07/02 20:53:07 1.170 @@ -1,7 +1,7 @@ # The LearningOnline Network # Cookie Based Access Handler # -# $Id: lonacc.pm,v 1.168 2017/12/21 22:06:44 raeburn Exp $ +# $Id: lonacc.pm,v 1.170 2018/07/02 20:53:07 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -289,7 +289,6 @@ sub upload_size_allowed { sub sso_login { my ($r,$handle,$username) = @_; - my $lonidsdir=$r->dir_config('lonIDsDir'); if (($r->user eq '') || ($username ne '') || ($r->user eq 'public:public') || (defined($env{'user.name'}) && (defined($env{'user.domain'})) && ($handle ne ''))) { @@ -584,7 +583,9 @@ sub handler { $env{'form.origurl'} = $r->uri; } } - + if ($requrl=~m{^/+tiny/+$match_domain/+\w+$}) { + return OK; + } # ---------------------------------------------------------------- Check access my $now = time; if ($requrl !~ m{^/(?:adm|public|prtspool)/}