[wp-trac] [WordPress Trac] #8787: Error in URL checking in http.php

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 3 03:49:22 GMT 2009


#8787: Error in URL checking in http.php
--------------------------+-------------------------------------------------
 Reporter:  mercurix      |       Owner:  anonymous
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.7.1    
Component:  General       |     Version:  2.7      
 Severity:  critical      |    Keywords:           
--------------------------+-------------------------------------------------
 There is a bug in wp-includes/http.php in the 2.7 release.
 In line 753 it reads:
                 if ( 'http' != $arrURL['scheme'] || 'https' !=
 $arrURL['scheme'] )
 What should be there instead is:
                 if ( 'http' != $arrURL['scheme'] && 'https' !=
 $arrURL['scheme'] )

 Without this fix Wordpress will fail to call its wp-cron.php (and leading
 to a crash with seg fault for me) if the Wordpress installation is on an
 https server and cannot be reached with http.

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


More information about the wp-trac mailing list