[wp-trac] [WordPress Trac] #17168: redirect loop when accessing wp-admin/network/

WordPress Trac noreply at wordpress.org
Wed Mar 19 23:49:53 UTC 2014


#17168: redirect loop when accessing wp-admin/network/
----------------------------+------------------------
 Reporter:  chaos1          |       Owner:
     Type:  defect (bug)    |      Status:  reopened
 Priority:  normal          |   Milestone:  3.9
Component:  Bootstrap/Load  |     Version:  3.1.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  multisite
----------------------------+------------------------
Changes (by jeremyfelt):

 * keywords:  has-patch needs-testing => has-patch


Comment:

 `strcasecmp()` seems cleaner for this.

 [https://core.trac.wordpress.org/attachment/ticket/17168/17168.3.diff
 17168.3.diff] applies that to both the domain and path comparisons,
 eliminating the infinite redirect when domain or path with mismatched case
 is stored in the database.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/17168#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list