[wp-trac] [WordPress Trac] #24182: WP_Http_Fsockopen fails when requesting an IP based URL with an explicit Host header

WordPress Trac noreply at wordpress.org
Mon Jul 29 01:48:12 UTC 2013


#24182: WP_Http_Fsockopen fails when requesting an IP based URL with an explicit
Host header
--------------------------+---------------------
 Reporter:  friedcell     |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.7
Component:  HTTP          |     Version:  2.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  needs-patch   |
--------------------------+---------------------

Comment (by dd32):

 Replying to [comment:6 dd32]:
 > Ah.. That patch by me will completely ignore the actual hostname/IP
 we're connecting to in the URL.

 Turned out that was wrong, thanks to the {{{$fsockopen_host}}} variable.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24182#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list