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
..
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:45:12 +02:00
2018-10-14 19:46:15 +02:00
2018-10-14 19:46:15 +02:00
2018-10-14 19:46:15 +02:00
2018-10-14 19:46:15 +02:00
2018-10-14 19:46:15 +02:00
2018-10-14 19:46:15 +02:00
2020-09-26 23:47:04 -07:00
2020-09-26 23:47:04 -07:00
2020-03-31 13:02:32 +02:00
2019-04-17 14:24:11 +02:00
2020-02-03 22:52:20 +01:00
2020-04-30 09:53:57 +02:00
2018-10-14 19:46:15 +02:00
2016-11-20 22:31:24 +01:00
2020-08-09 22:03:36 +02:00
2016-11-24 22:39:39 +01:00
2020-08-09 22:03:36 +02:00
2020-08-09 22:03:36 +02:00
2020-08-09 22:03:36 +02:00
2020-02-03 22:52:20 +01:00
2017-01-22 16:11:25 +00:00
2017-01-22 16:11:25 +00:00
2020-07-23 15:48:09 +02:00
2019-12-12 14:21:46 +01:00
2020-09-26 23:47:04 -07:00
2020-12-23 13:49:56 +01:00
2020-05-08 10:52:23 +02:00
2020-08-09 22:03:36 +02:00
2020-08-09 22:03:36 +02:00
2020-08-09 22:03:36 +02:00
2020-08-09 22:03:36 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-01-18 12:44:47 +01:00
2018-10-15 04:31:31 +02:00
2022-01-17 23:44:41 +01:00
2020-08-09 22:03:36 +02:00
2020-08-09 22:03:36 +02:00
2017-02-22 12:31:06 +01:00
2019-05-27 10:51:53 +02:00
2018-02-22 08:11:30 +01:00
2016-11-24 22:39:39 +01:00
2018-02-20 21:53:48 +01:00
2018-02-20 21:53:48 +01:00
2020-02-03 22:52:20 +01:00
2018-02-20 21:53:48 +01:00
2016-08-19 00:34:13 +02:00
2016-08-19 00:34:13 +02:00
2018-02-20 21:53:48 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-09-16 15:39:18 -03:00
2016-08-19 00:34:13 +02:00
2020-02-03 22:52:20 +01:00
2016-08-19 00:34:13 +02:00
2019-12-05 11:19:23 +01:00
2019-12-05 11:19:23 +01:00
2019-12-05 11:19:23 +01:00
2019-12-05 11:19:23 +01:00
2019-12-05 11:19:23 +01:00
2019-12-05 11:19:23 +01:00
2020-05-13 12:47:12 +02:00
2020-05-13 12:47:12 +02:00