Perl-Sensitive Sunglasses | |
PerlMonks |
Re: User regexpsby Abigail-II (Bishop) |
on Jan 14, 2004 at 15:39 UTC ( [id://321275]=note: print w/replies, xml ) | Need Help?? |
And you should of course be aware of source code injection. Suppose the user specifies: "a/; system( 'some evil command' ); m/a" and your code is:But that's not the code! Read the post. The code is: There's no danger of source code injection here (unless there's an unseen use re 'eval' in an enclosing scope. Abigail
In Section
Seekers of Perl Wisdom
|
|