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')); |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Sun Dec 22 10:01:28 2024 UTC |