mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
![]() The original code is error-prone due to the "best fit mapping" that happens with the argument parsing but not with the query string. When we get a non-ASCII character, try to remap it and see if it becomes a hyphen. An alternative approach is to create a custom main `wmain` receiving wide-character variations that does the ANSI transformation with the best-fit mapping, but that's more error-prone and could cause unexpected breakage. Another alternative was just don't doing this check altogether and always check for `cgi || fastcgi` instead, but that breaks real-world use-cases. |
||
---|---|---|
.. | ||
001.phpt | ||
002.phpt | ||
003.phpt | ||
004.phpt | ||
005-win32.phpt | ||
005.phpt | ||
006.phpt | ||
007.phpt | ||
008.phpt | ||
009.phpt | ||
010.phpt | ||
011.phpt | ||
apache_request_headers.phpt | ||
apache_response_headers.phpt | ||
bug60677.phpt | ||
bug61605.phpt | ||
bug69487.phpt | ||
bug75574_utf8.phpt | ||
bug78323.phpt | ||
bug80849-cgi.phpt | ||
bug81518a.phpt | ||
bug81518b.phpt | ||
ghsa-3qgc-jrrr-25jv.phpt | ||
include.inc | ||
skipif.inc |