version 1.27, 2002/02/25 21:22:51
|
version 1.29, 2002/03/26 16:05:01
|
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++; |
Line 176 sub handler {
|
Line 172 sub handler {
|
$requrl=~/\.(\w+)$/; |
$requrl=~/\.(\w+)$/; |
if (&Apache::loncommon::fileembstyle($1) eq 'ssi') { |
if (&Apache::loncommon::fileembstyle($1) eq 'ssi') { |
# ------------------------------------- This is serious stuff, get symb and log |
# ------------------------------------- This is serious stuff, get symb and log |
my $symb=&Apache::lonnet::symbread; |
my $query=$r->args; |
|
my $symb; |
|
if ($query) { |
|
&Apache::loncommon::get_unprocessed_cgi($query,['symb']); |
|
} |
|
if ($ENV{'form.symb'}) { |
|
$symb=$ENV{'form.symb'}; |
|
} else { |
|
$symb=&Apache::lonnet::symbread; |
|
} |
$ENV{'request.symb'}=$symb; |
$ENV{'request.symb'}=$symb; |
&Apache::lonnet::courseacclog($symb); |
&Apache::lonnet::courseacclog($symb); |
} else { |
} else { |