Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I can understand if encode_base64 returns untainted results, but not decode_base64#!/usr/bin/perl -T -- use strict; use warnings; use MIME::Base64; use Scalar::Util qw' tainted '; print 'tainted ', tainted($ENV{PATH}),"\n"; print 'enc ', tainted(encode_base64($ENV{PATH})),"\n"; print 'dec ', tainted(decode_base64(encode_base64($ENV{PATH}))),"\n"; __END__ tainted 1 enc 0 dec 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MIME::Base64 decode_base64 not tainted
by Fletch (Bishop) on Aug 04, 2008 at 12:57 UTC | |
|
Re: MIME::Base64 decode_base64 not tainted
by rowdog (Curate) on Aug 05, 2008 at 07:30 UTC | |
by ikegami (Patriarch) on Aug 05, 2008 at 07:41 UTC |