Skip Menu |

This queue is for tickets about the File-Spec CPAN distribution.

Report information
The Basics
Id: 2280
Status: new
Priority: 0/
Queue: File-Spec

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: Should strip quotes on Win32's canonpath
In Windows, directories with spaces in them can be used in command lines by surrounding them with quotes. It's tolerant of a variety of styles: "a b\c" "a b"\c "a b\c d" "a b"\"c d" Since canonpath is supposed to clean up the path, it should strip the quotes. They're only necessary in the command line. It can do so indiscriminantly because quotes aren't valid characters for actual file and directory names. (against File/Win32.pm) 107a108 Show quoted text
> $path =~ s|\"||g;