Diff for /loncom/auth/lonacc.pm between versions 1.14 and 1.15

version 1.14, 2000/12/25 12:44:43 version 1.15, 2000/12/26 19:50:25
Line 2 Line 2
 # Cookie Based Access Handler  # Cookie Based Access Handler
 # 5/21/99,5/22,5/29,5/31,6/15,16/11,22/11,  # 5/21/99,5/22,5/29,5/31,6/15,16/11,22/11,
 # 01/06,01/13,05/31,06/01,09/06,09/25,09/28,10/30,11/6,  # 01/06,01/13,05/31,06/01,09/06,09/25,09/28,10/30,11/6,
 # 12/25 Gerd Kortemeyer  # 12/25,12/26 Gerd Kortemeyer
   
 package Apache::lonacc;  package Apache::lonacc;
   
Line 81  sub handler { Line 81  sub handler {
  if ($lines[$i]=~/^$contentsep/) {   if ($lines[$i]=~/^$contentsep/) {
     if ($name) {      if ($name) {
                         chomp($value);                          chomp($value);
                         $ENV{"form.$name"}=$value;  
  if ($fname) {   if ($fname) {
     $ENV{"form.$name.filename"}=$fname;      $ENV{"form.$name.filename"}=$fname;
                             $ENV{"form.$name.mimetype"}=$fmime;                              $ENV{"form.$name.mimetype"}=$fmime;
                           } else {
                               $value=~s/\s+$//s;
                         }                          }
                           $ENV{"form.$name"}=$value;
                     }                      }
                     if ($i<$#lines) {                      if ($i<$#lines) {
  $i++;   $i++;

Removed from v.1.14  
changed lines
  Added in v.1.15


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