[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
Tue Jul 23 08:14:44 UTC 2013


#24182: WP_Http_Fsockopen fails when requesting an IP based URL with an explicit
Host header
--------------------------+-----------------------------
 Reporter:  friedcell     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  HTTP          |     Version:  2.7
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------
Changes (by dd32):

 * version:  trunk => 2.7
 * milestone:  Awaiting Review => Future Release


Comment:

 Confirmed that we've got a hard-coded Host header in the fsockopen
 handler, and appears that it's been like that since it was first
 introduced.

 It's not as simple as skipping adding the Host header when one is
 specified, because the Proxy support requires us to alter it.

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


More information about the wp-trac mailing list