version 1.12, 2022/06/30 21:04:14
|
version 1.13, 2022/07/02 17:17:47
|
Line 401 sub launch_check {
|
Line 401 sub launch_check {
|
if ($linkprotector) { |
if ($linkprotector) { |
&Apache::lonnet::appenv({'request.linkprot' => $linkprotector.':'.$linkproturi}); |
&Apache::lonnet::appenv({'request.linkprot' => $linkprotector.':'.$linkproturi}); |
} elsif ($env{'request.linkprot'}) { |
} elsif ($env{'request.linkprot'}) { |
&Apache::lonnet::delenv({'request.linkprot'}); |
&Apache::lonnet::delenv('request.linkprot); |
} |
} |
if ($linkkey ne '') { |
if ($linkkey ne '') { |
&Apache::lonnet::appenv({'request.linkkey' => $linkkey}); |
&Apache::lonnet::appenv({'request.linkkey' => $linkkey}); |
} elsif ($env{'request.linkkey'} ne '') { |
} elsif ($env{'request.linkkey'} ne '') { |
&Apache::lonnet::delenv({'request.linkkey'}); |
&Apache::lonnet::delenv('request.linkkey'); |
} |
} |
$newlauncher = 1; |
$newlauncher = 1; |
} |
} |
Line 422 sub launch_check {
|
Line 422 sub launch_check {
|
if ($linkprotector) { |
if ($linkprotector) { |
&Apache::lonnet::appenv({'request.linkprot' => $linkprotector.':'.$linkproturi}); |
&Apache::lonnet::appenv({'request.linkprot' => $linkprotector.':'.$linkproturi}); |
} elsif ($env{'request.linkprot'}) { |
} elsif ($env{'request.linkprot'}) { |
&Apache::lonnet::delenv({'request.linkprot'}); |
&Apache::lonnet::delenv('request.linkprot); |
} |
} |
if ($linkkey ne '') { |
if ($linkkey ne '') { |
&Apache::lonnet::appenv({'request.linkkey' => $linkkey}); |
&Apache::lonnet::appenv({'request.linkkey' => $linkkey}); |
} else { |
} else { |
&Apache::lonnet::delenv({'request.linkkey'}); |
&Apache::lonnet::delenv('request.linkkey'); |
} |
} |
&Apache::lonnet::appenv({'request.deeplink.login' => $linkuri}); |
&Apache::lonnet::appenv({'request.deeplink.login' => $linkuri}); |
if ($env{'request.deeplink.target'} ne '') { |
if ($env{'request.deeplink.target'} ne '') { |