Update ENV variable for each request in Safe jail (#597)
This commit is contained in:
parent
6447bce9bd
commit
ec35b64736
@ -1294,6 +1294,9 @@ sub safe {
|
|||||||
# Refresh the portal object inside it
|
# Refresh the portal object inside it
|
||||||
$safe->{p} = $self;
|
$safe->{p} = $self;
|
||||||
|
|
||||||
|
# Refresh environment variables
|
||||||
|
$safe->share_from( 'main', ['%ENV'] );
|
||||||
|
|
||||||
return $safe;
|
return $safe;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user