node/test/fixtures/dotenv
HEESEUNG 6add4c56aa
util: fix parseEnv incorrectly splitting multiple ‘=‘ in value
Previously, parseEnv would create multiple environment
variables if a single line contained multiple ‘=‘ characters
(e.g. A=B=C would become { A: ‘B=C’, B: ‘C’ }).
This commit ensures that only the first ‘=‘ is used as
the key-value delimiter, and the rest of the line is treated
as the value.

Fixes: https://github.com/nodejs/node/issues/57411
PR-URL: https://github.com/nodejs/node/pull/57421
Reviewed-By: Daniel Lemire <daniel@lemire.me>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
2025-05-02 17:06:02 -03:00
..
.env
basic-valid.env
eof-without-value.env
lines-with-only-spaces.env src: improve node::Dotenv trimming 2025-02-11 22:26:51 +00:00
multiline.env
no-final-newline-single-quotes.env
no-final-newline.env
node-options-no-tranform.env src: add config file support 2025-02-20 23:07:42 +00:00
node-options.env src,lib: stabilize permission model 2024-12-12 12:11:58 +00:00
uv-threadpool.env
valid.env util: fix parseEnv incorrectly splitting multiple ‘=‘ in value 2025-05-02 17:06:02 -03:00