Update ENV variable for each request in Safe jail (#597)

This commit is contained in:
Clément Oudot 2013-07-25 13:13:48 +00:00
parent 6447bce9bd
commit ec35b64736

View File

@ -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;
}