Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Buzzcutbuddha (Denying tags is the way to go) - RE: HTML tags to be filtered out

by buzzcutbuddha (Chaplain)
on Aug 23, 2000 at 20:08 UTC ( [id://29305]=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.


in reply to HTML tags to be filtered out

Having thought for a while about which way to go with filtering tags (only allowing certain ones, or only denying certain ones), I'm going to put my support with denying certain tags. Allowing only certain tags then limits our ability to include special characters:
 , &, etc
and that also means that when things move more towards XHTML, the filter needs to be extended or rewritten.

I think it's easier to filter out the bad/naughty HTML then to make a special case for all of the different HTML features we individually use...
  • Comment on Buzzcutbuddha (Denying tags is the way to go) - RE: HTML tags to be filtered out
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://29305]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.