Most likely you'll fare better by using an absolute path instead of a relative path:
use lib qw(/home/sites/feedback/cgi-bin);
I think that:
use lib dirname(dirname abs_path $0);
puts a tainted value into @INC because $0 can be under the control of an attacker (through symlinks or hardlinks).
In reply to Re: Own modules and tainted mode
by Corion
in thread Own modules and tainted mode
by PeterKaagman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |