in reply to Insecure CPAN module in taint mode
Depending on your mail setup, you might want to simply skip that part that invokes the sendmail executable and use a direct SMTP connection:
return $mail->send('smtp');
In your code you don't show how you set $ENV{PATH} to a fixed value - I would start with that...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Insecure CPAN module in taint mode
by Bod (Parson) on Jul 06, 2021 at 19:49 UTC | |
by marto (Cardinal) on Jul 06, 2021 at 20:07 UTC | |
by Bod (Parson) on Jul 06, 2021 at 21:35 UTC | |
by afoken (Chancellor) on Jul 06, 2021 at 21:31 UTC | |
Re^2: Insecure CPAN module in taint mode
by Bod (Parson) on Jul 06, 2021 at 22:14 UTC |
In Section
Seekers of Perl Wisdom