Christoph M. Becker
93a3c71eb4
Fix GH-7896: Environment vars may be mangled on Windows
...
When bug 77574[1] has been fixed, the fix only catered to variables
retrieved via `getenv()` with a `$varname` passed, but neither to
`getenv()` without arguments nor to the general import of environment
variables into `$_ENV` and `$_SERVER`. We catch up on this by using
`GetEnvironmentStringsW()` in `_php_import_environment_variables()` and
converting the encoding to whatever had been chosen by the user.
[1] <https://bugs.php.net/bug.php?id=75574 >
Closes GH-7928.
2022-01-17 23:44:41 +01:00
..
2021-11-29 14:48:11 +01:00
2019-02-03 21:03:00 +01:00
2019-09-25 14:51:43 +02:00
2020-05-12 22:01:00 +02:00
2019-09-25 14:51:43 +02:00
2020-06-08 10:38:45 +02:00
2021-05-25 13:46:38 +02:00
2019-09-25 14:51:43 +02:00
2020-01-27 13:32:51 +01:00
2019-09-25 14:51:43 +02:00
2020-07-06 21:13:34 +02:00
2019-09-25 14:51:43 +02:00
2021-11-04 16:23:55 +01:00
2020-09-11 14:49:07 +02:00
2021-07-15 15:29:48 +02:00
2019-09-25 14:51:43 +02:00
2020-07-06 21:13:34 +02:00
2019-09-25 14:51:43 +02:00
2020-01-27 13:32:51 +01:00
2021-05-08 20:54:53 +02:00
2020-10-21 10:07:07 +02:00
2020-06-08 10:38:45 +02:00
2019-09-25 14:51:43 +02:00
2020-06-08 10:38:45 +02:00
2020-06-08 10:38:45 +02:00
2021-01-19 11:44:22 +01:00
2021-01-19 11:44:22 +01:00
2020-10-16 17:27:52 +02:00
2020-03-26 11:49:27 +01:00
2019-09-25 14:51:43 +02:00
2019-09-25 14:51:43 +02:00
2020-07-23 13:00:04 +02:00
2020-11-30 15:06:28 +01:00
2019-09-25 14:51:43 +02:00
2019-09-25 14:51:43 +02:00
2019-09-25 14:51:43 +02:00
2019-09-25 14:51:43 +02:00
2022-01-17 23:44:41 +01:00
2020-06-08 10:38:45 +02:00
2021-12-02 05:09:07 +00:00
2021-04-19 16:17:01 +02:00
2020-06-29 17:47:21 +02:00
2021-01-19 11:44:22 +01:00
2019-09-25 14:51:43 +02:00
2020-09-29 11:30:06 +02:00
2020-06-08 10:38:45 +02:00
2020-04-22 20:18:19 +02:00
2019-09-25 14:51:43 +02:00
2020-04-22 20:18:19 +02:00
2019-09-25 14:51:43 +02:00
2020-09-07 21:35:48 +03:00
2020-09-07 21:35:48 +03:00