[wp-trac] [WordPress Trac] #12136: Improve MS rewrite rules

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 5 18:44:17 UTC 2010


#12136: Improve MS rewrite rules
---------------------------+------------------------------------------------
 Reporter:  nacin          |       Owner:  wpmuguru           
     Type:  defect (bug)   |      Status:  new                
 Priority:  normal         |   Milestone:  3.0                
Component:  Rewrite Rules  |     Version:                     
 Severity:  normal         |    Keywords:  multisite has-patch
---------------------------+------------------------------------------------

Comment(by wpmuguru):

 The rewrite base is / or /path/ so in rewriting a request for {{{/path/ron
 /wp-content/themes/...}}} apache is running the regex on {{{ron/wp-
 content/themes/...}}} not {{{/ron/wp-content/themes/...}}}.

 The more specific regex limits the rewrites to what is possible as a blog
 name and probably provides a bit of security.

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


More information about the wp-trac mailing list