version 1.27, 2002/02/25 21:22:51
|
version 1.28, 2002/02/26 21:01:33
|
Line 100 sub handler {
|
Line 100 sub handler {
|
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg; |
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg; |
$name =~ tr/+/ /; |
$name =~ tr/+/ /; |
$name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg; |
$name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg; |
if ($ENV{"form.$name"}) { |
&Apache::loncommon::add_to_env("form.$name",$value); |
$ENV{"form.$name"}.=','.$value; |
|
} else { |
|
$ENV{"form.$name"}=$value; |
|
} |
|
} |
} |
} else { |
} else { |
my $contentsep=$1; |
my $contentsep=$1; |
Line 124 sub handler {
|
Line 120 sub handler {
|
} else { |
} else { |
$value=~s/\s+$//s; |
$value=~s/\s+$//s; |
} |
} |
$ENV{"form.$name"}=$value; |
&Apache::loncommon::add_to_env("form.$name",$value); |
} |
} |
if ($i<$#lines) { |
if ($i<$#lines) { |
$i++; |
$i++; |