|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Stripping Trailingbr'sby Xxaxx (Monk) |
| on Apr 05, 2001 at 08:16 UTC ( [id://70025]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
If you're including the input text be sure to run it through
several fairly severe cleansings. You may want to strip
any javascript, forms, ssi, applets and other goodies not desired.
In fact if you're just looking for text perhaps stripping all
tag might help.
That should get rid of most attacks to your script. Of course you can always just strip forms, ssi, etc. and leave normal tags alone. It all depends on how severe you feel you need to be -- or can afford. Claude
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||