in reply to What's your favourite method of untainting?
None of the supplied options...
my $foo; if ($bar =~ m!(acceptable_value|allowed_value)!) { $foo = $1; } else { die 'Invalid value of tainted $bar: ' . $bar; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: What's your favourite method of untainting?
by Anonymous Monk on Nov 10, 2023 at 05:11 UTC | |
by kcott (Archbishop) on Nov 10, 2023 at 08:37 UTC | |
by Bod (Parson) on Nov 12, 2023 at 00:26 UTC |