|
From: Nick C. <ni...@cl...> - 2002-02-02 14:08:03
|
On Fri, Feb 01, 2002 at 06:38:53PM -0500, Joseph F. Ryan wrote: > > > >If detaint_dirname is killing the script it should be telling you > >the name of the directory it doesn't like. > > It was returning an empty string... That's strange, File::Find shouldn't be trying to chdir to the empty string. I've made the detatint pattern match the empty string - see if that helps. > also, should the script die if it hits a bad filename, or just skip it? It should probably skip it - but it's too late once File::Find tries to chdir into it. Maybe we could add code to do_search that sets $File::Find::Prune for directories that would fail the taint check ? -- Nick |