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

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 6 06:36:25 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:                |
--------------------------+------------------------------
Changes (by knutsp):

 * cc: knut@… (added)
 * severity:  major => normal


Comment:

 I haven't seen any malfunctions related to this mix of directory
 separators. Windows allows and respects both. So why is a path like
 {{{
 C:\public\www.example.com/wp-includes/shortcodes.php
 }}}
 invalid?

 I don't use minifying plugins, but if they fail I would consider it a bug
 in the plugin, not WordPress core.

 For caching I only use Wincache on Windows servers.

 As the backslash is not legal in a file- or dirname on Unix/Linux (?) I
 guess that suggested change won't break anything. It will add some
 consistency in that all paths will use the same separator from left to
 right. This may make some file handling plugins start working on Windows
 servers without being tested on Windows.

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


More information about the wp-trac mailing list