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

Owner: Nobody in particular

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

Subject: Should strip quotes on Win32's canonpath
Download (untitled) / with headers
text/plain 472b
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/ 107a108 Show quoted text
> $path =~ s|\"||g;

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

Please report any issues with to