[wp-trac] [WordPress Trac] #20849: 'ABSPATH' Invalid with Windows Servers

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 6 09:34:30 UTC 2012


#20849: 'ABSPATH' Invalid with Windows Servers
--------------------------+------------------------------
 Reporter:  admintiger    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Filesystem    |     Version:  3.4
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by knutsp):

 In PHP on Windows "/" is a defacto valid directory separator. Some systems
 doesn't acknowledge that "/" and "\" are interchangeable. Is this
 something WordPress should fix? Maybe.

 I guess that to solve this "side effect" completely we must change all the
 path building uses of "/" to DIRECTORY_SEPARATOR in core. I have doubts we
 ever will, but if we did, it seems to be some benefits.

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


More information about the wp-trac mailing list