Re: cvs commit: modperl/File File.pm

2002-04-15 Thread Doug MacEachern
On Tue, 16 Apr 2002, Stas Bekman wrote: > > +($tmpfile) = $tmpfile =~ /^([^<>|;*]+)$/; #untaint > > Doug, will this do the right thing on all platform? I'm simply looking for > a similar solution to a bug in Cwd.pm to generically untaint a path. > Shouldn't '?\[\]' be in the forbidden

Re: cvs commit: modperl/File File.pm

2002-04-15 Thread Stas Bekman
> +($tmpfile) = $tmpfile =~ /^([^<>|;*]+)$/; #untaint Doug, will this do the right thing on all platform? I'm simply looking for a similar solution to a bug in Cwd.pm to generically untaint a path. Shouldn't '?\[\]' be in the forbidden set? These are all parts of the wild chars set (at