node/test/fixtures/dotenv
HEESEUNG e6a0d77d57
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-04-06 07:47:28 +00: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 src: safely remove the last line from dotenv 2024-11-26 10:12:50 +00:00
no-final-newline.env src: safely remove the last line from dotenv 2024-11-26 10:12:50 +00:00
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-04-06 07:47:28 +00:00