For keeping user supplied paths sane, you probably want the no_upwards method from File::Spec (and the other methods from the same module you are already using).
In reply to Re: security and un-tainting paths
by afresh1
in thread security and un-tainting paths
by wrinkles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |