Andras Bacsai
c0dadc003d
fix(env): skip escaping for valid JSON in environment variables ( #6160 )
...
Prevent double-escaping of COMPOSER_AUTH and other JSON environment variables
by detecting valid JSON objects/arrays in realValue() and skipping quote
escaping entirely. This fixes broken JSON values passed to runtime services
while maintaining proper escaping for non-JSON values.
- Add JSON detection before escaping logic in EnvironmentVariable::realValue()
- JSON objects/arrays pass through unmodified, avoiding quote corruption
- Add comprehensive test coverage for JSON vs non-JSON escaping behavior
2026-01-28 10:59:00 +01:00
..
2026-01-13 17:12:16 +01:00
2026-01-04 17:23:22 +01:00
2025-12-17 21:35:54 +01:00
2025-12-05 11:02:07 +01:00
2024-12-10 08:50:07 +01:00
2025-10-11 11:16:28 +02:00
2025-12-10 08:59:13 +01:00
2025-11-14 11:35:22 +01:00
2025-01-15 17:11:15 +01:00
2025-11-14 11:35:22 +01:00
2025-10-08 19:58:36 +02:00
2026-01-28 10:59:00 +01:00
2025-10-30 01:16:59 +05:30
2024-10-24 13:28:31 +02:00
2026-01-16 11:51:26 +01:00
2025-12-11 21:25:33 +01:00
2025-12-11 21:23:46 +01:00
2025-06-18 14:29:46 +02:00
2024-06-10 20:43:34 +00:00
2025-12-08 13:39:33 +01:00
2026-01-05 21:52:10 +01:00
2024-02-16 21:56:38 +01:00
2025-11-14 11:35:22 +01:00
2025-12-15 12:05:54 +01:00
2025-09-26 08:24:38 +02:00
2025-10-07 15:02:23 +02:00
2025-11-10 11:11:18 +01:00
2025-11-10 11:11:18 +01:00
2026-01-16 11:51:26 +01:00
2025-12-11 11:03:02 +01:00
2026-01-13 00:05:43 +01:00
2025-12-08 13:39:33 +01:00
2025-12-08 13:39:33 +01:00
2025-08-26 10:27:38 +02:00
2025-11-14 11:35:22 +01:00
2025-02-07 19:36:52 +01:00
2026-01-06 16:18:37 +01:00
2026-01-16 11:51:26 +01:00
2026-01-06 16:18:37 +01:00
2026-01-06 16:18:37 +01:00
2026-01-06 16:18:37 +01:00
2026-01-06 16:18:37 +01:00
2026-01-06 16:18:37 +01:00
2026-01-06 16:18:37 +01:00
2026-01-06 16:18:37 +01:00
2025-01-07 15:31:43 +01:00
2026-01-16 11:51:26 +01:00
2025-08-19 12:14:48 +02:00
2025-11-14 11:35:22 +01:00
2025-09-25 11:33:32 +02:00
2025-11-14 11:35:22 +01:00
2026-01-01 15:42:21 +01:00
2025-08-12 10:07:11 +02:00
2025-11-25 15:35:01 +01:00