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
|
||||
$safe->{p} = $self;
|
||||
|
||||
# Refresh environment variables
|
||||
$safe->share_from( 'main', ['%ENV'] );
|
||||
|
||||
return $safe;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user