in reply to use re 'taint' with s/// operator
Or maybe there is another way for s/// operator to behave like m// with use re 'taint'?
The idea of use 're' 'taint';, is to allow you to break up a tainted string into smaller pieces that will subsequently require being untainted separately. It allows the process of validation to be done safely in separate chunks.
It doesn't make much sense to replace bits of a tainted string with other bits and continue to consider it tainted. It would mean what? That you didn't know what you'd you replaced things with?
I think if you explained why you're asking the question, you're more likely to get an answer that addresses the real problem here.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: use re 'taint' with s/// operator
by Pirax (Initiate) on Nov 19, 2010 at 14:42 UTC | |
by BrowserUk (Patriarch) on Nov 19, 2010 at 15:07 UTC | |
|
Re^2: use re 'taint' with s/// operator
by JavaFan (Canon) on Nov 19, 2010 at 16:52 UTC | |
by BrowserUk (Patriarch) on Nov 19, 2010 at 17:02 UTC | |
by JavaFan (Canon) on Nov 19, 2010 at 19:08 UTC | |
by BrowserUk (Patriarch) on Nov 19, 2010 at 19:20 UTC | |
by JavaFan (Canon) on Nov 19, 2010 at 21:29 UTC | |
|