![]() |
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch patch.txt for *General Issues Bug #77804Patch version 2019-03-27 08:32 UTC Return to Bug #77804 | Download this patchPatch Revisions: Developer: 1085242202@qq.comresolvent: function parse_url_patch($url){ $ret = parse_url($url); if(stripos($ret["host"],"\\") !== false){ $ret["host"] = "illegal host"; } return $ret; } var_dump(parse_url_patch('http://baidu.com\pinyin.sogou.com')); var_dump(parse_url_patch('https://pinyin.sogou.com/proxy')); |
![]() All rights reserved. |
Last updated: Thu Jul 03 21:01:34 2025 UTC |