-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mb_http_input test is faild on Windows #14407
Comments
Originally, the GET method had to be percent encoded. This test did not pass on Windows, so I changed it to a percent-encoded parameter.
@youkidearitai I really appreciate your reporting and helping to fix this problem. It would be really good to figure out why we have a behavior difference between Windows and Linux. On my Linux machine, the tests are passing as is. Is it possible to get more information about on which commits the tests are failing, and on which they are succeeding? You mentioned "PHP 8.0" and "master". I guess it means you tested those 2 revisions? Is it possible to find the latest revision on which the tests succeed? |
@alexdowad I investigated this problem. It may not have been successful from the beginning. This test has been re-enabled in PHP 8.0 from 226d9dd . |
This mojibake, I think "Best fit" feature of encoding conversion on Windows. |
Great investigation! On |
Didn't, On |
FWIW, for me, that test passes locally on Windows (cp850 and cp932), and apparently it passes on CI as well. |
@cmb69 Thank you for confirm. I restarted |
Description
The following code:
Resulted in this output:
But I expected this output instead:
Test all passed in mbstring.
I got an error when I put
--enable-cgi
. At least, PHP 8.0 and master is failed.config.nice.bat script
mb_http_input.log
mb_http_input.diff
mb_http_input_pass.log
mb_http_input_pass.diff
My environment is:
Please see below
.log
file and.diff
files.mb_http_input_test_failes.zip
PHP Version
PHP 8.0 - master
Operating System
Windows
The text was updated successfully, but these errors were encountered: