[wp-trac] Re: [WordPress Trac] #6890: Canonical redirection broken for empty host in 'home' option

WordPress Trac wp-trac at lists.automattic.com
Fri May 2 20:51:03 GMT 2008


#6890: Canonical redirection broken for empty host in 'home' option
----------------------+-----------------------------------------------------
 Reporter:  thenlich  |        Owner:  markjaquith
     Type:  defect    |       Status:  new        
 Priority:  normal    |    Milestone:             
Component:  General   |      Version:  2.5.1      
 Severity:  normal    |   Resolution:             
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by thenlich):

 Such an option would be useful. It would be even better to (optionally)
 disable redirection not entirely, but selectively (for scheme:/host/path).

 But that is independent from this bug: if siteurl does not contain a
 hostname, we cannot rewrite to it. But since a redirect needs an absolute
 URL, we must use the original from the request in this case.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6890#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list