Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔒️ Don't leak env values into
$_SERVER
(#598)
Updates to using a custom repository for `Dotenv` instead of the default which includes `ServerConstAdapter`. The new custom repository *only* includes `EnvConstAdapter`. The `$_SERVER` superglobal often gets dumped into logs or into monitoring services so it's better for security to avoid populating it with secrets contained in `.env`. Co-authored-by: Ben Word <[email protected]>
- Loading branch information