perl-unicode

Re: UTF8 behavior under -T (Taint) mode

2004-01-01 02:30:05
On Jan 01, 2004, at 12:32, Masanori HATA wrote:
Hello,

I have a simple question:

It seems that utf8::decode() does not work for
any tainted variables under the -T (Taint) mode.

Is it right?

Wrong.

What drove you to such a conclusion?  It does work.  Try something like

  perl -T -le 'utf8::decode($ARGV[0])' something

and see it for yourself.  Did perl die with "Insecure ..." message?

Dan the Perl5 Porter

<Prev in Thread] Current Thread [Next in Thread>