[wp-trac] [WordPress Trac] #10187: wp_redirect and canonical redirect do not work as expected on IIS

WordPress Trac wp-trac at lists.automattic.com
Sat Oct 2 04:08:03 UTC 2010


#10187: wp_redirect and canonical redirect do not work as expected on IIS
------------------------------------+---------------------------------------
 Reporter:  peaceablewhale          |        Owner:  dd32    
     Type:  defect (bug)            |       Status:  accepted
 Priority:  normal                  |    Milestone:  3.1     
Component:  HTTP                    |      Version:  2.8     
 Severity:  normal                  |   Resolution:          
 Keywords:  has-patch tested early  |  
------------------------------------+---------------------------------------

Comment(by peaceablewhale):

 It's not necessary to have

 if ( php_sapi_name() != 'cgi-fcgi' )
     status_header($status);

 in the patch, as the status is passed to the header() function.

 In addition, [15682] does not fully fix #10187 due to missing fix on
 canonical redirect.

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


More information about the wp-trac mailing list