[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
Sun Jul 28 23:39:32 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: 3.7
Component: HTTP | Version: 2.7
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+------------------
Changes (by dd32):
* keywords: has-patch needs-testing => needs-patch
* milestone: Future Release => 3.7
Comment:
Ah.. That patch by me will completely ignore the actual hostname/IP we're
connecting to in the URL.
As for how to handle Proxies, it turns out that the request would look
like this:
{{{
GET http://72.233.69.89/1.1/verify-key HTTP/1.0
...
Host: rest.akismet.com
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24182#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list