Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
Taint - having some real trouble here, taint/perl experts, please help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Tad McClellan, post: 4745902"] There is no pattern match in that code, so nothing can possibly become untainted. When you copy tainted data, the copy is tainted too. And that seems like a whole lot of code. Can't it all be replaced with just: # untested sub partlaundry { my $text = shift; return '' unless $text =~ /^([a-zA-Z0-9*]*)$/; return $1; } ?? [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
Taint - having some real trouble here, taint/perl experts, please help
Top