Diff for /loncom/lond between versions 1.489.2.28.2.1 and 1.489.2.28.4.1

version 1.489.2.28.2.1, 2017/06/22 02:11:23 version 1.489.2.28.4.1, 2020/04/07 19:10:31
Line 1497  sub ls_handler { Line 1497  sub ls_handler {
     }      }
  } else {   } else {
             unless (($ulsdir =~ m{^/home/httpd/lonUsers/$LONCAPA::match_domain(?:/[\w\-.@]){3}/$LONCAPA::match_name/}) ||              unless (($ulsdir =~ m{^/home/httpd/lonUsers/$LONCAPA::match_domain(?:/[\w\-.@]){3}/$LONCAPA::match_name/}) ||
                     ($ulsdir =~ m{^/home/httpd/html/(?:res|userfiles)/$LONCAPA::match_domain/$LONCAPA::match_name/})) {                      ($ulsdir =~ m{^/home/httpd/html/(?:res|userfiles)/$LONCAPA::match_domain/$LONCAPA::match_name/})) { 
                 &Failure($client,"refused\n",$userinput);                  &Failure($client,"refused\n",$userinput);
                 return 1;                  return 1;
             }              }

Removed from v.1.489.2.28.2.1  
changed lines
  Added in v.1.489.2.28.4.1


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