How to Patch CGI::Application::Plugin::ConfigAuto to Run Perl in Taint Mode
![Published Date](https://www.ericmichaelstone.com/wp-content/themes/me3/images/calendar.png)
I had to patch the distribution by adding the following variable into the code:
$Config::Auto::Untaint = 1;
Here is the fix on AWS Linux:
vim /usr/local/share/perl5/CGI/Application/Plugin/ConfigAuto.pm
141 sub cfg {
142 my $self = shift;
143
144 if (!$self->{__CFG}) {
145 require Config::Auto;
146 $Config::Auto::Untaint = 1; (ADD THIS NEW LINE HERE)
Leave Your Comment![Leave a comment](https://www.ericmichaelstone.com/wp-content/themes/me3/images/comments.png)
All fields marked with "*" are required.