in reply to Insecure dependency error and $ENV{'PATH'}

I don't see where $branch is coming from. It's quite possibly tainted. Your $newfile looks fine, although it permits ".." and "flurbl\n", which are messy.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Insecure dependency error and $ENV{'PATH'}