[php-src] Issue #7896: Env vars with non-ASCII values are mangled when read from $_SERVER on Windows
| From: | cmb69 | Date: | Thu, 06 Jan 2022 13:40:16 +0000 |
| Subject: | [php-src] Issue #7896: Env vars with non-ASCII values are mangled when read from $_SERVER on Windows | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238816@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7896
Comment Author: cmb69
> From PHP 7.2 onwards I get the behavior described above.
This is likely due to fixing https://bugs.php.net/75574,
so should be fixed as of PHP 7.1.13 and 7.2.1, respectively. That fix only affected
getenv(), though, but not
[_php_import_environment_variables](https://github.com/php/php-src/blob/php-8.0.13/main/php_variables.c#L565-L582)
(and possibly other places).