in reply to Re: Homegrown Pseudo-Tainting
in thread Homegrown Pseudo-Tainting

Right, that's what I'm talking about - what are your favorite regex's or other methods for protecting your shell from user input? (sorry, I should have been more explicit)

Replies are listed 'Best First'.
Re: Re: Re: Homegrown Pseudo-Tainting
by dws (Chancellor) on Mar 15, 2002 at 07:31 UTC
    what are your favorite regex's or other methods for protecting your shell from user input?

    Test for exactly what I expect, and reject anything else. The test depends on the data.