in reply to Re: File::Find untaint in taint-mode under Win32
in thread File::Find untaint in taint-mode under Win32
Yeah, and if you had read the code, you wouldn't have posted a useless comment.
Anyway, the problem is that the default untaint_pattern is set to qr|^([-+@\w./]+)$| and the cwd on windows most likely contains :, like in C:/some/path.
So, you have to fix the untaint pattern using something like: untaint_pattern => qr|^([-+@\w./]+)$|
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: File::Find untaint in taint-mode under Win32
by jmcnamara (Monsignor) on May 09, 2011 at 12:17 UTC | |
by Anonymous Monk on May 09, 2011 at 14:39 UTC | |
by jmcnamara (Monsignor) on May 09, 2011 at 14:48 UTC |