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. |
||
---|---|---|
.. | ||
tests | ||
cgi_main.c | ||
cgi_main.stub.php | ||
cgi_main_arginfo.h | ||
config.w32 | ||
config9.m4 | ||
CREDITS | ||
Makefile.frag | ||
php-cgi.1.in | ||
php.sym |