Skip Menu |
 

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 87943
Status: new
Priority: 0/
Queue: PathTools

People
Owner: Nobody in particular
Requestors: dagolden [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Win32 canonpath should not strip trailing slash from UNC volumes
Download (untitled) / with headers
text/plain 435b
Currently Win32 canonpath does this: \\server\share\ -> \\server\share I think this is wrong because those two result in different values from splitpath(). In the first case, you get "\\server\share" as the volume and "\" as the directory. In the second, you get an empty string as the directory. I think canonpath should keep the trailing slash so that splitpath clearly indicates that the path refers to a root directory.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.