|
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.com
resolvent:
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'));
|
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 12:00:01 2026 UTC |