[wp-trac] [WordPress Trac] #9699: Invalid HTTP host sent when using
WP_Http_Fsockopen over SSL
WordPress Trac
wp-trac at lists.automattic.com
Fri May 1 23:14:13 GMT 2009
#9699: Invalid HTTP host sent when using WP_Http_Fsockopen over SSL
--------------------------+-------------------------------------------------
Reporter: mdawaffe | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.8
Component: HTTP | Version: 2.7.1
Severity: minor | Keywords: has-patch dev-feedback
--------------------------+-------------------------------------------------
When making an HTTPS connection via WP_Http_Fsockopen, the host header
sent in the request is:
{{{
Host: ssl://example.com
}}}
It's prefixing the socket transport identifier. That's what you're
supposed to do when calling fsockopen, not when sending the host header.
The correct host header is:
{{{
Host: example.com
}}}
Attached
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9699>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list