in reply to Win32 taint...shouldn't this fail?

Oops, I added the incorrect information as to what I typed in on the command line. I tried it this way as well:
perl -t tainttest.pl (offline mode: enter name=value pairs on standard input) file=foo.txt comment="now" ^Z
This modifies foo.txt with the argument. I tried the same thing on a UNIX box and it failed, as expected. Anybody know any reason why taint checking is not working on the Win32 command line?

Celebrate Intellectual Diversity

Replies are listed 'Best First'.
Re: Re: Win32 taint...shouldn't this fail?
by hopes (Friar) on Sep 21, 2001 at 21:29 UTC
    OK, well...

    In Linux, when you do
    ^Z (CTRL+Z)
    you are stopping the current process (and there is no output in the file)

    To end the tainting, you should make ^D (instead ^Z)

    I've executed my script in a i386-Linux with Perl v5.6.0 and the output is what you expect.

    Hope this help
    hopes