From 3f8132b1a55d27eaf25d0e68b7b5455e03c19a9e Mon Sep 17 00:00:00 2001 From: Yuya Hamada Date: Mon, 3 Jun 2024 17:53:25 +0900 Subject: [PATCH] Fix GH-14407 mb_http_input tests failed on Windows 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. --- ext/mbstring/tests/mb_http_input.phpt | 2 +- ext/mbstring/tests/mb_http_input_pass.phpt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/mbstring/tests/mb_http_input.phpt b/ext/mbstring/tests/mb_http_input.phpt index 3104c5b6eadff..9c2d51dcdd41c 100644 --- a/ext/mbstring/tests/mb_http_input.phpt +++ b/ext/mbstring/tests/mb_http_input.phpt @@ -5,7 +5,7 @@ mbstring --POST-- a=日本語0123456789日本語カタカナひらがな --GET-- -b=日本語0123456789日本語カタカナひらがな +b=%C6%FC%CB%DC%B8%EC0123456789%C6%FC%CB%DC%B8%EC%A5%AB%A5%BF%A5%AB%A5%CA%A4%D2%A4%E9%A4%AC%A4%CA --INI-- mbstring.encoding_translation=1 input_encoding=latin1 diff --git a/ext/mbstring/tests/mb_http_input_pass.phpt b/ext/mbstring/tests/mb_http_input_pass.phpt index 54d24b996c013..1bd665d938043 100644 --- a/ext/mbstring/tests/mb_http_input_pass.phpt +++ b/ext/mbstring/tests/mb_http_input_pass.phpt @@ -5,7 +5,7 @@ mbstring --POST-- a=日本語0123456789日本語カタカナひらがな --GET-- -b=日本語0123456789日本語カタカナひらがな +b=%C6%FC%CB%DC%B8%EC0123456789%C6%FC%CB%DC%B8%EC%A5%AB%A5%BF%A5%AB%A5%CA%A4%D2%A4%E9%A4%AC%A4%CA --INI-- mbstring.encoding_translation=1 input_encoding=pass