[wp-trac] [WordPress Trac] #21602: redirect_canonical can lead to infinite loop on index navigation if site url is not all lower case

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 22 22:32:10 UTC 2012


#21602: redirect_canonical can lead to infinite loop on index navigation if site
url is not all lower case
--------------------------+------------------------------
 Reporter:  sreedoap      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Canonical     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by sreedoap):

 Alright.. I've compiled below a complete list of steps to reproduce. Turns
 out this only will happen if there is a plugin activated that uses the
 is_front_page() function.

 1) Change the URL of the site to have uppercase characters (for example
 testsite.example.com to TESTSITE.example.com)

 2) Change the permalinks setting to an option besides the default (for
 example post name)

 3) Install the following plugin:
 https://gist.github.com/9649e00c6acec8805f39

 4) Attempt to access the sites homepage, a infinite redirect loop will
 occur.

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


More information about the wp-trac mailing list