[wp-trac] [WordPress Trac] #17177: Optimize parse_request for the home page (empty request)

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 8 13:20:19 UTC 2011


#17177: Optimize parse_request for the home page (empty request)
----------------------------------------+-----------------------
 Reporter:  duck_                       |       Owner:  ryan
     Type:  defect (bug)                |      Status:  reopened
 Priority:  normal                      |   Milestone:  3.3
Component:  Rewrite Rules               |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch commit 3.3-early  |
----------------------------------------+-----------------------
Changes (by dnljms):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 This change breaks when using IIS 6 with IIRF (I know that's a bit odd) as
 `$req_uri` is empty for rewritten urls. If you look at the loop, when
 `$req_uri` is empty it just uses the existing value of `$request_match` so
 there can be a match for empty `$req_uri`. I'll attach a patch.

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


More information about the wp-trac mailing list