[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
Sat Apr 2 23:09:56 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                |  Resolution:
 Keywords:  3.2-early has-patch  |
---------------------------------+-----------------------------

Comment (by dd32):

 > >What's the use case for the filter when function_exists( 'fopen' )
 returns false?
 > Hooks can still filter it. E.g. reporting, enable / creating functions
 etc. (dl etc.).

 For what it's worth here, I personally believe only a `true` response
 should be filterable. If our test rules say the transport can't be used,
 it can't be used, it's that simple. The test rules are nothing
 extravagant, basic cap checks..

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


More information about the wp-trac mailing list