[wp-trac] [WordPress Trac] #16606: WP_Http_Streams::test doesn't check enough to confirm if it can do HTTPS

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 21 08:16:45 UTC 2011


#16606: WP_Http_Streams::test doesn't check enough to confirm if it can do HTTPS
--------------------------+-----------------------------------
 Reporter:  westi         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  high          |  Milestone:  Future Release
Component:  HTTP          |    Version:  3.0.5
 Severity:  major         |   Keywords:  needs-patch 3.2-early
--------------------------+-----------------------------------
 The WP_Http_Streams doesn't check for all it's prerequisites before saying
 it can process HTTPS request.

 It seems to be common for the openssl extension to no be loaded.

 Example Warnings:

 {{{
 [21-Feb-2011 08:06:48] PHP Warning:  fopen() [<a
 href='function.fopen'>function.fopen</a>]: Unable to find the wrapper
 &quot;https&quot; - did you forget to enable it when you configured PHP?
 in .../wp-includes/class-http.php on line 1063
 [21-Feb-2011 08:06:48] PHP Warning:  fopen(https://example.com/feed/) [<a
 href='function.fopen'>function.fopen</a>]: failed to open stream: No such
 file or directory in .../wp-includes/class-http.php on line 1063
 }}}

 We need to at least check: {{{extension_loaded( 'openssl' )}}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16606>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list