[wp-trac] [WordPress Trac] #48289: wp_normalize_path() breaks path_is_absolute() in Windows.

WordPress Trac noreply at wordpress.org
Sat Dec 21 22:48:22 UTC 2019


#48289: wp_normalize_path() breaks path_is_absolute() in Windows.
----------------------------------------+-----------------------------
 Reporter:  paultgoodchild              |       Owner:  SergeyBiryukov
     Type:  defect (bug)                |      Status:  reviewing
 Priority:  normal                      |   Milestone:  5.4
Component:  Filesystem API              |     Version:  5.2.3
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------

Comment (by apedog):

 Function {{{path_is_absolute()}}} should handle paths with mixed slashes
 when installed on Windows.
 PHP constant {{{DIRECTORY_SEPARATOR}}} is not relevant to this issue.

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


More information about the wp-trac mailing list