[wp-trac] [WordPress Trac] #23073: Wrong RewriteRule in a local Multisite installation

WordPress Trac noreply at wordpress.org
Thu Jan 3 23:32:01 UTC 2013


#23073: Wrong RewriteRule in a local Multisite installation
--------------------------------------------+--------------------
 Reporter:  Guy_fr                          |       Owner:
     Type:  defect (bug)                    |      Status:  new
 Priority:  normal                          |   Milestone:  3.5.1
Component:  Multisite                       |     Version:  3.5
 Severity:  normal                          |  Resolution:
 Keywords:  dev-feedback reporter-feedback  |
--------------------------------------------+--------------------

Comment (by dd32):

 It's pretty common to see `str_replace( '\\', '/', $path)` elsewhere in
 core where we deal with filesystem paths.

 I'd be +1 for standardising ABSPATH on windows to / as well as doing the
 same for any paths in $_SERVER which we use. Windows is very forgiving and
 accepts either slash, and AFAIK, doesn't believe in using \ as an escape
 character in paths. IIS on the other hand, may need checking to see if it
 complains.

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


More information about the wp-trac mailing list