Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re^5: Filtering potentially dangerous URI schemas in <a href="...">

by diotalevi (Canon)
on Oct 23, 2002 at 01:16 UTC ( #207251=note: print w/replies, xml ) Need Help??


in reply to Re^5: Filtering potentially dangerous URI schemas in <a href="...">
in thread Filtering potentially dangerous URI schemas in <a href="...">

And my client-supplied CSS trumps everything you do on the web site. I wouldn't have every known you'd intended that to be differently colored until it came up. In general this is the "don't communicate solely through color" dictum.

__SIG__ printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE;
  • Comment on Re: Re^5: Filtering potentially dangerous URI schemas in <a href="...">
  • Download Code

Replies are listed 'Best First'.
Re^7: Filtering potentially dangerous URI schemas in <a href="...">
by Aristotle (Chancellor) on Oct 23, 2002 at 14:38 UTC
    Then how about class="unsafe"? The default could be bold red, with the "unsafe link" text prepended, and usersupplied CSS could style it as desired.

    Makeshifts last the longest.

      Sure you could do a specific CSS class but unless you get all the potential users to add the .unsafe { blah blah } snippet to their CSS configuration then it's a moot point. I'm just thinking that if that went into the site documentation somewhere that it'd be mostly invisible since I don't expect people would notice. That's a guess anyway. I think all I'm reall saying is that you absolutely cannot count on color being available as a device for communication. It's quite obvious that if you prepend some sort of warning text like "Potentially Unsafe Link&lt;a href="mocha:alert('foo!')" &gt;link&lt;/a&gt; that something is going on.

      __SIG__ printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE;
        If you look back, you'll notice my original proposal did include some text.. :-)

        Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2023-02-03 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (24 votes). Check out past polls.

    Notices?