Diff for /loncom/Attic/lchtmldir between versions 1.7 and 1.8

version 1.7, 2004/08/05 20:35:55 version 1.8, 2004/09/02 18:59:24
Line 268  sub JoinGroup { Line 268  sub JoinGroup {
   
     my $groups = `/usr/bin/groups www`;      my $groups = `/usr/bin/groups www`;
     # untaint      # untaint
     my ($safegroups)=($groups=~/([\s\w]+)/);      my ($safegroups)=($groups=~/:\s+([\s\w]+)/);
     $groups=$safegroups;      $groups=$safegroups;
     chomp $groups; $groups=~s/^\S+\s+\:\s+//;      chomp $groups; $groups=~s/^\S+\s+\:\s+//;
     my @grouplist=split(/\s+/,$groups);      my @grouplist=split(/\s+/,$groups);

Removed from v.1.7  
changed lines
  Added in v.1.8


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