Diff for /loncom/auth/lonroles.pm between versions 1.269.2.39.2.5 and 1.269.2.39.2.6

version 1.269.2.39.2.5, 2022/07/08 15:45:20 version 1.269.2.39.2.6, 2022/10/05 23:05:24
Line 1114  ENDCLOSE Line 1114  ENDCLOSE
                             $redirect_url .= $where;                              $redirect_url .= $where;
                         }                          }
                         $redirect_url .= '/';                          $redirect_url .= '/';
                           if ($env{'form.orgurl'} =~ /^\Q$redirect_url\E/) {
                               my ($path) = ($env{'form.orgurl'} =~ m{^(.+)/[^/]+$});
                               if (($path ne '') && (-e $Apache::lonnet::perlvar{'lonDocRoot'}.$path)) {
                                   $redirect_url = $env{'form.orgurl'};
                               }
                           }
                         &redirect_user($r,&mt('Entering Authoring Space'),                          &redirect_user($r,&mt('Entering Authoring Space'),
                                        $redirect_url);                                         $redirect_url);
                         return OK;                          return OK;

Removed from v.1.269.2.39.2.5  
changed lines
  Added in v.1.269.2.39.2.6


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>