这是一个iis服务器的bugs,运行以下代码
reg add HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\w3svc\Parameters /v FastCGIUtf8ServerVariables /t REG_MULTI_SZ /d REQUEST_URI\0PATH_INFO
然后重启iis服务器
参考::
https://support.microsoft.com/en-us/topic/fix-a-php-application-that-depends-on-the-request-uri-server-variable-may-fail-when-a-request-whose-url-contains-utf-8-characters-is-sent-to-iis-7-5-a3055458-c109-1298-c704-30f0453a7bcb