Skip Menu |

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

Report information
The Basics
Id: 20045
Status: resolved
Priority: 0/
Queue: File-Copy-Recursive

People
Owner: Nobody in particular
Requestors: jclark [...] globalmoxie.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.23
Fixed in: 0.24



Subject: pathempty (and thus dirmove) functions throw error with -T switch
The pathempty function throws an error if called when the -T switch is on, preventing use of dirmove with -T. In v0.23, changing line 237 to untaint the path in the pathempty function as you've done elsewhere (in the dircopy function) takes care of this: - my $flpth = File::Spec->catdir($pth, $_); + my ($fl) = m{ (.*) }xms; + my $flpth = File::Spec->catdir($pth, $fl); Tested with Perl 5.8.6 under OSX 10.4.6 Many thanks for the useful module! Josh Clark
Show quoted text
> Many thanks for the useful module!
You're welcome Josh, try version 0.24 (I just uploaded it to pause) Let me know hopw that works out with that probem :)
From: Josh Clark
Many thanks for such a fast response! Yep, the new version works just fine. Thanks again, Josh
On Fri Jun 23 10:49:04 2006, guest wrote: Show quoted text
> Many thanks for such a fast response! Yep, the new version works just fine. > > Thanks again, > Josh
My pleasure have a good one Josh :)
On Fri Jun 23 10:49:04 2006, guest wrote: Show quoted text
> Many thanks for such a fast response! Yep, the new version works just fine. > > Thanks again, > Josh
My pleasure have a good one Josh :)