Closed jkeenan closed 1 year ago
With NO_TAINTSUPPORT Perl dies loudly as soon as it sees -t. You may have more luck with SILENT NO_TAINT_SUPPORT. Also see the PR I've raised against IPC::System::Simple, you may be able to adapt how I fixed its tests.
https://github.com/libwww-perl/URI/pull/129 Can you test against that PR, please?
All tests pass, with taint enabled, with it disabled silently, and disabled noisily.
However, all I did was prove -Ilib -r t
. Something in Dist::Zilla's dependency chain doesn't like no-taint, so if you do anything funky at build time I couldn't test that.
Great! Should be all good to go. I'll close this out as the next release should contain the fix. Thank you!
In
perl-5.38.0
, whose production release we anticipate for approx. May 20 2023,perl
can be built without support for taint. Unfortunately, many CPAN distributions have test files that test taint-related situations.Last week I built a
perl
with this configuration:I installed
cpanm
against thatperl
, then tried to install modules (e.g.,Task::CPAN::Reporter
) for whichURI
is a prerequisite. The installation of URI failed.`I am aware that a number of Perl people have been looking into this problem (e.g., @DrHyde), but I don't know if we have yet established any S.O.P. for addressing it.