|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-02-27 04:07 UTC] zhihua dot yao at dbappsecurity dot com dot cn
[2018-02-28 12:41 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2018-02-28 12:41 UTC] cmb@php.net
[2018-02-28 14:05 UTC] zhihua dot yao at dbappsecurity dot com dot cn
-Status: Feedback
+Status: Assigned
[2018-02-28 14:05 UTC] zhihua dot yao at dbappsecurity dot com dot cn
[2018-02-28 14:07 UTC] zhihua dot yao at dbappsecurity dot com dot cn
[2018-02-28 14:50 UTC] cmb@php.net
-Status: Assigned
+Status: Not a bug
-Type: Security
+Type: Bug
[2018-02-28 14:50 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 04:00:02 2025 UTC |
Description: ------------ Actually get_headers parse the wrong hostname. Test script: --------------- <?php print_r(get_headers('http://www.youtube.com@www.google.com.hk')); Expected result: ---------------- Return the youtube response headers. Actual result: -------------- Return the google response headers. Since Google can not be accessed, the actual results are as follows: Warning: get_headers(http://...@www.google.com.hk): failed to open stream: Network is unreachable in /home/hjy/Desktop/test2.php on line 3