[wp-trac] [WordPress Trac] #35996: wp_normalize_path() not working with DFS on Windows hosting

WordPress Trac noreply at wordpress.org
Mon Feb 29 06:17:36 UTC 2016


#35996: wp_normalize_path() not working with DFS on Windows hosting
--------------------------------------+------------------
 Reporter:  rilwis                    |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  4.5
Component:  Filesystem API            |     Version:  3.9
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------
Changes (by dd32):

 * keywords:   => has-patch has-unit-tests
 * version:  trunk => 3.9
 * component:  General => Filesystem API
 * milestone:  Awaiting Review => 4.5


Comment:

 [attachment:35996.diff] is [attachment:wp_normalize_path-patch.diff] with
 Docs and unit tests added.

 I'm mildly concerned that linux paths with two leading slashes will be
 treated the same as the windows paths, however I don't think that edgecase
 is overly important - that'd only happen if the path was being
 concatenated incorrectly from the root.

 Anyone else want to weigh in on that?
 I see no reason this shouldn't be in 4.5.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35996#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list