This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Dotenv
naitsirch eb69e135b2 [Dotenv] Fixed infinite loop with missing quote followed by quoted value
If there's a quote missing to end a value and in the next line there's again a quoted value Dotenv will run into an infinite loop. An .env file with the following content will result in this error:
```
FOO="foo
BAR="bar"
```
See #34642 for more details.
2020-01-07 21:29:45 +01:00
..
Exception Merge branch '2.8' into 3.4 2018-07-26 10:45:46 +02:00
Tests [Dotenv] Fixed infinite loop with missing quote followed by quoted value 2020-01-07 21:29:45 +01:00
.gitignore [Dotenv] added the component 2017-01-12 08:39:44 -08:00
CHANGELOG.md [Dotenv] Add a BC break note 2017-09-05 09:59:31 +02:00
composer.json [Dotenv] search variable values in ENV first then env file 2019-10-11 15:36:17 +02:00
Dotenv.php [Dotenv] Fixed infinite loop with missing quote followed by quoted value 2020-01-07 21:29:45 +01:00
LICENSE Update year in license files 2020-01-01 12:03:25 +01:00
phpunit.xml.dist Merge branch '2.8' into 3.4 2018-11-11 20:48:54 +01:00
README.md Fix dotenv documentation link 2017-03-16 11:46:40 -04:00

Dotenv Component

Symfony Dotenv parses .env files to make environment variables stored in them accessible via getenv(), $_ENV, or $_SERVER.

Resources