in reply to Re: Code does Remove Html
in thread Code does Remove Html
If you "remove HTML" with a regex like that, then I can still get whatever HTML I want in like so:
<a <b>href="www.example.com">Cheap Viagra!</</b>a> <script<b>> alert("CHEAP VIAGRA!") </script</b>>
Escaping is a much better idea.
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Code does Remove Html (hole)
by SFLEX (Chaplain) on Dec 17, 2006 at 17:40 UTC |